Click here to Skip to main content
15,917,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why it use so many memory? Pin
John M. Drescher7-Sep-04 20:08
John M. Drescher7-Sep-04 20:08 
GeneralRe: Why it use so many memory? Pin
Member 10128697-Sep-04 21:49
Member 10128697-Sep-04 21:49 
GeneralPrinter Hooking Pin
shiraztk7-Sep-04 18:35
shiraztk7-Sep-04 18:35 
GeneralCustom data iterator Pin
RalfPeter7-Sep-04 12:19
RalfPeter7-Sep-04 12:19 
GeneralRe: Custom data iterator Pin
Ryan Binns7-Sep-04 18:15
Ryan Binns7-Sep-04 18:15 
GeneralRe: Custom data iterator Pin
Anonymous8-Sep-04 3:40
Anonymous8-Sep-04 3:40 
GeneralRe: Custom data iterator Pin
Mike Beckerleg7-Sep-04 22:12
Mike Beckerleg7-Sep-04 22:12 
GeneralFile indexing question Pin
kfaday7-Sep-04 11:26
kfaday7-Sep-04 11:26 
Hi I’m going to develop an application for university and I would really appreciate some advice. I’m creating a file managing system, like tar, that creates a ‘file’ which manages a collection of files. You can add files to the ‘file’, create directories (a directory would be a file with pointers to inodes), delete them, etc. It’s like creating a small file system. I have to develop it in Linux, in C++, it’ll be an Object Oriented Program. I was thinking of dividing the ‘file’ in three parts, the main or first section, the ‘inodes’ section and the files section. The inodes are small pieces of data that contains information of the files inside the ‘file’, its name, where it starts and the size in bytes among other things. I was thinking that all of them could have the same size, but that’s not good, as space will be wasted for file names. Then, for indexing the files inside the big ‘file’, I was thinking in giving them numbers, and searching sequentially, but I need something more efficient. I heard that the best solution to that are trees. Which is the easier solution to implement, one which is also fast? Any other ideas of how could I index files inside the big ‘files’? Any links or recommended books on the subject? I’m quite new in this area of programming and I didn’t find anything useful on the net.

Thank you very much for your time!


GeneralGetting Information From other Devices Pin
S.DARWIN PAUL RAJ7-Sep-04 9:59
S.DARWIN PAUL RAJ7-Sep-04 9:59 
GeneralSocket problem Pin
GGConsulting7-Sep-04 9:49
GGConsulting7-Sep-04 9:49 
GeneralRe: Socket problem Pin
Magnus7657-Sep-04 22:43
Magnus7657-Sep-04 22:43 
GeneralDeletion of Pointers in ClistCtrl Data Pin
Cedar Sith7-Sep-04 8:05
Cedar Sith7-Sep-04 8:05 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
David Crow7-Sep-04 8:58
David Crow7-Sep-04 8:58 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
Cedar Sith7-Sep-04 9:39
Cedar Sith7-Sep-04 9:39 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
David Crow7-Sep-04 9:54
David Crow7-Sep-04 9:54 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
Cedar Sith7-Sep-04 10:33
Cedar Sith7-Sep-04 10:33 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
Ryan Binns7-Sep-04 18:22
Ryan Binns7-Sep-04 18:22 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
Cedar Sith8-Sep-04 9:24
Cedar Sith8-Sep-04 9:24 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
Ryan Binns8-Sep-04 13:47
Ryan Binns8-Sep-04 13:47 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
Cedar Sith8-Sep-04 14:15
Cedar Sith8-Sep-04 14:15 
GeneralRe: Deletion of Pointers in ClistCtrl Data Pin
Cedar Sith7-Sep-04 12:25
Cedar Sith7-Sep-04 12:25 
GeneralSTL / elegant file input (basic question!) Pin
LiquidEyes7-Sep-04 8:03
LiquidEyes7-Sep-04 8:03 
GeneralRe: STL / elegant file input (basic question!) Pin
Ryan Binns7-Sep-04 18:32
Ryan Binns7-Sep-04 18:32 
GeneralRe: STL / elegant file input (basic question!) Pin
LiquidEyes7-Sep-04 23:03
LiquidEyes7-Sep-04 23:03 
GeneralRe: STL / elegant file input (basic question!) Pin
Kevin McFarlane8-Sep-04 2:14
Kevin McFarlane8-Sep-04 2:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.