Click here to Skip to main content
15,911,139 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HINSTANCE of console application Pin
User 98853-Jul-01 14:56
User 98853-Jul-01 14:56 
GeneralRe: HINSTANCE of console application Pin
User 98853-Jul-01 14:57
User 98853-Jul-01 14:57 
GeneralRe: HINSTANCE of console application Pin
Nick Blumhardt3-Jul-01 15:04
Nick Blumhardt3-Jul-01 15:04 
GeneralTiming milliseconds. Pin
John Uhlenbrock3-Jul-01 13:26
John Uhlenbrock3-Jul-01 13:26 
GeneralRe: Timing milliseconds. Pin
User 98853-Jul-01 13:48
User 98853-Jul-01 13:48 
GeneralRe: Timing milliseconds. Pin
Christian Graus3-Jul-01 14:02
protectorChristian Graus3-Jul-01 14:02 
GeneralRe: Timing milliseconds. Pin
Daniel Visan3-Jul-01 22:13
Daniel Visan3-Jul-01 22:13 
Generalhard disk full while writing to file Pin
Jake Palmer3-Jul-01 12:23
Jake Palmer3-Jul-01 12:23 
I'm writing some data to a CStdioFile in a loop, and my program gets through the loop but gives me an error when I close the dialog, saying "hard disk full while writing to file". The file is blank.

I know the hard disk is not ACTUALLY full, so is this caused by a memory leak somewhere in my code?

A possible cause would be a loop where I read from a file:
CPerson *p;
while (...)
{
CString name = (read a name from a file)
p = new Person(name);
//should this next line do the job?
delete (p);
}

I'm not a memory freeing guru, so I'm definitely causing some trouble here Laugh | :laugh:
How can I get this file written?
thanks,

Jake
GeneralRe: hard disk full while writing to file Pin
Jonathon Lockett3-Jul-01 12:53
Jonathon Lockett3-Jul-01 12:53 
GeneralI thought I understood polymorphism Pin
Alex Griffing3-Jul-01 12:05
Alex Griffing3-Jul-01 12:05 
GeneralRe: I thought I understood polymorphism Pin
Alex Griffing3-Jul-01 12:16
Alex Griffing3-Jul-01 12:16 
GeneralRe: I thought I understood polymorphism Pin
Ben Burnett3-Jul-01 13:40
Ben Burnett3-Jul-01 13:40 
GeneralRe: I thought I understood polymorphism Pin
Alex Griffing3-Jul-01 13:57
Alex Griffing3-Jul-01 13:57 
GeneralRe: I thought I understood polymorphism Pin
Stan Shannon3-Jul-01 14:40
Stan Shannon3-Jul-01 14:40 
GeneralRe: I thought I understood polymorphism Pin
Alex Griffing3-Jul-01 16:33
Alex Griffing3-Jul-01 16:33 
GeneralRe: I thought I understood polymorphism Pin
Stan Shannon3-Jul-01 17:38
Stan Shannon3-Jul-01 17:38 
GeneralRe: I thought I understood polymorphism Pin
3-Jul-01 21:12
suss3-Jul-01 21:12 
GeneralRe: I thought I understood polymorphism Pin
Malcolm McMahon3-Jul-01 23:24
Malcolm McMahon3-Jul-01 23:24 
QuestionWho can give me a help???? Pin
3-Jul-01 11:26
suss3-Jul-01 11:26 
Questionmultiple active windows in MDI? Pin
Jake Palmer3-Jul-01 11:15
Jake Palmer3-Jul-01 11:15 
AnswerRe: multiple active windows in MDI? Pin
3-Jul-01 12:19
suss3-Jul-01 12:19 
GeneralRe: multiple active windows in MDI? Pin
Jake Palmer3-Jul-01 14:31
Jake Palmer3-Jul-01 14:31 
GeneralRe: multiple active windows in MDI? Pin
Ben Burnett3-Jul-01 18:45
Ben Burnett3-Jul-01 18:45 
AnswerRe: multiple active windows in MDI? Pin
#realJSOP4-Jul-01 1:06
professional#realJSOP4-Jul-01 1:06 
AnswerRe: multiple active windows in MDI? Pin
Jose Cruz4-Jul-01 11:35
Jose Cruz4-Jul-01 11:35 

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.