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

C / C++ / MFC

 
GeneralRe: ifstream - saving classes Pin
Dosin8-Jan-07 14:19
Dosin8-Jan-07 14:19 
GeneralRe: ifstream - saving classes [modified] Pin
Dosin8-Jan-07 14:43
Dosin8-Jan-07 14:43 
AnswerRe: ifstream - saving classes Pin
Stephen Hewitt8-Jan-07 15:35
Stephen Hewitt8-Jan-07 15:35 
GeneralRe: ifstream - saving classes Pin
Dosin8-Jan-07 16:15
Dosin8-Jan-07 16:15 
GeneralRe: ifstream - saving classes Pin
Stephen Hewitt8-Jan-07 16:47
Stephen Hewitt8-Jan-07 16:47 
General[Message Deleted] Pin
Dosin8-Jan-07 16:58
Dosin8-Jan-07 16:58 
GeneralRe: ifstream - saving classes Pin
prasad_som8-Jan-07 17:09
prasad_som8-Jan-07 17:09 
GeneralRe: ifstream - saving classes Pin
Dosin8-Jan-07 17:28
Dosin8-Jan-07 17:28 
Well I think I figured it out-it was the nocreate.. for some reason it stopped the file from writing at random.. I changed it to ios::binary - it seems to be working - more testing it needed.. the size int is fine for my program.. I am making a program to hold up to 15000+.. files.. (why you have not used c'tor ) I just needed a data class and used the class instead of a struct.. It works kind of like a bitmap file.. If you read or create a bit map you can use a strut or a class.. if for some reason it fails again I will try that! thanks for all the help!!!

so far 103 entries and no errors! Ya!


GeneralRe: ifstream - saving classes Pin
Stephen Hewitt8-Jan-07 17:14
Stephen Hewitt8-Jan-07 17:14 
GeneralRe: ifstream - saving classes Pin
Dosin8-Jan-07 17:36
Dosin8-Jan-07 17:36 
GeneralRe: ifstream - saving classes Pin
Stephen Hewitt8-Jan-07 17:53
Stephen Hewitt8-Jan-07 17:53 
GeneralRe: ifstream - saving classes Pin
Dosin8-Jan-07 18:10
Dosin8-Jan-07 18:10 
QuestionCheckbox? Pin
Larsson8-Jan-07 8:23
Larsson8-Jan-07 8:23 
QuestionRe: Checkbox? Pin
David Crow8-Jan-07 8:27
David Crow8-Jan-07 8:27 
AnswerRe: Checkbox? Pin
Larsson8-Jan-07 8:53
Larsson8-Jan-07 8:53 
GeneralRe: Checkbox? Pin
David Crow8-Jan-07 9:01
David Crow8-Jan-07 9:01 
AnswerRe: Checkbox? Pin
PJ Arends8-Jan-07 8:31
professionalPJ Arends8-Jan-07 8:31 
GeneralRe: Checkbox? Pin
Larsson8-Jan-07 8:55
Larsson8-Jan-07 8:55 
AnswerRe: Checkbox? Pin
Stephen Hewitt8-Jan-07 11:32
Stephen Hewitt8-Jan-07 11:32 
GeneralRe: Checkbox? Pin
Larsson8-Jan-07 12:51
Larsson8-Jan-07 12:51 
QuestionAFX_MANAGE_STATE(AfxGetStaticModuleState()); Pin
Niklas L8-Jan-07 7:40
Niklas L8-Jan-07 7:40 
AnswerRe: AFX_MANAGE_STATE(AfxGetStaticModuleState()); Pin
Mark Salsbery8-Jan-07 8:37
Mark Salsbery8-Jan-07 8:37 
GeneralRe: AFX_MANAGE_STATE(AfxGetStaticModuleState()); Pin
Niklas L8-Jan-07 8:52
Niklas L8-Jan-07 8:52 
GeneralRe: AFX_MANAGE_STATE(AfxGetStaticModuleState()); Pin
Mark Salsbery8-Jan-07 9:02
Mark Salsbery8-Jan-07 9:02 
GeneralRe: AFX_MANAGE_STATE(AfxGetStaticModuleState()); Pin
Niklas L8-Jan-07 10:34
Niklas L8-Jan-07 10:34 

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.