Click here to Skip to main content
15,925,133 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMemory detection tools Pin
gh29-Jan-02 7:31
gh29-Jan-02 7:31 
GeneralRe: Memory detection tools Pin
Brian V Shifrin29-Jan-02 8:38
Brian V Shifrin29-Jan-02 8:38 
GeneralRe: Memory detection tools Pin
gh29-Jan-02 9:06
gh29-Jan-02 9:06 
Questionsomething wrong with faxcomex.h ??? Pin
nvhoang29-Jan-02 6:38
nvhoang29-Jan-02 6:38 
AnswerRe: something wrong with faxcomex.h ??? Pin
Joaquín M López Muñoz29-Jan-02 12:30
Joaquín M López Muñoz29-Jan-02 12:30 
Generalreading data from bitmaps Pin
Rajveer29-Jan-02 6:21
Rajveer29-Jan-02 6:21 
GeneralRe: reading data from bitmaps Pin
Michael A. Barnhart29-Jan-02 16:26
Michael A. Barnhart29-Jan-02 16:26 
GeneralDynamic/Custom arrays, filestorage (databases) Pin
Peter Pearson29-Jan-02 6:12
Peter Pearson29-Jan-02 6:12 
Hi,

I'm looking for a way to produce a program that will allow the user to store records of particular things they want, but they initially choose what type of data they want to store for the records.

For example, if the user wants to store loads of records consisting of three string types, all the program would need to store are three CStrings (or whatever).

If they want to store say two strings, two true and falses and a number, the program would need to be able to store two CStrings, two BOOLs and an int.

Basically it would be like a custom database, but the problem I've got with it is setting up how the storage would work in an array and saving to file.

At present, I've got 12 fields available (4 strings, 4 BOOLs and 4 ints) and the user can tick or untick them if they want them or not. All fields are stored.

But not only is this wasteful in terms of storage and memory in terms of the fields not being used, but it doesn't give the user as much control as I want to.

I know using an existing database engine would be a lot easier, but has anyone got any ideas or pointers as to how to go about creating a custom one?

Many thanks,
Peter Pearson
GeneralNon-MFC dialog hyperlinks Pin
IGx8929-Jan-02 5:53
IGx8929-Jan-02 5:53 
GeneralRe: Non-MFC dialog hyperlinks Pin
Not Active29-Jan-02 6:12
mentorNot Active29-Jan-02 6:12 
GeneralRe: Non-MFC dialog hyperlinks Pin
IGx8929-Jan-02 6:28
IGx8929-Jan-02 6:28 
QuestionNon-MFC property sheets? Pin
IGx8929-Jan-02 5:51
IGx8929-Jan-02 5:51 
AnswerRe: Non-MFC property sheets? Pin
Ravi Bhavnani29-Jan-02 6:20
professionalRavi Bhavnani29-Jan-02 6:20 
GeneralRe: Non-MFC property sheets? Pin
IGx8929-Jan-02 6:20
IGx8929-Jan-02 6:20 
GeneralRe: Non-MFC property sheets? Pin
Ravi Bhavnani29-Jan-02 6:37
professionalRavi Bhavnani29-Jan-02 6:37 
GeneralRe: Non-MFC property sheets? Pin
IGx8929-Jan-02 6:36
IGx8929-Jan-02 6:36 
GeneralRe: Non-MFC property sheets? Pin
Ravi Bhavnani29-Jan-02 6:54
professionalRavi Bhavnani29-Jan-02 6:54 
GeneralCFile::GetFileTitle() broken. Pin
Jamie Hale29-Jan-02 5:20
Jamie Hale29-Jan-02 5:20 
GeneralRe: CFile::GetFileTitle() broken. Pin
Joaquín M López Muñoz29-Jan-02 6:01
Joaquín M López Muñoz29-Jan-02 6:01 
GeneralRe: CFile::GetFileTitle() broken. Pin
Jamie Hale29-Jan-02 6:16
Jamie Hale29-Jan-02 6:16 
GeneralRe: CFile::GetFileTitle() broken. Pin
Jon Hulatt29-Jan-02 6:45
Jon Hulatt29-Jan-02 6:45 
GeneralRe: CFile::GetFileTitle() broken. Pin
Ravi Bhavnani29-Jan-02 6:57
professionalRavi Bhavnani29-Jan-02 6:57 
GeneralRe: CFile::GetFileTitle() broken. Pin
Jamie Hale29-Jan-02 7:30
Jamie Hale29-Jan-02 7:30 
GeneralRe: CFile::GetFileTitle() broken. Pin
Michael Dunn29-Jan-02 13:45
sitebuilderMichael Dunn29-Jan-02 13:45 
GeneralRe: CFile::GetFileTitle() broken. Pin
Michael Dunn29-Jan-02 8:40
sitebuilderMichael Dunn29-Jan-02 8:40 

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.