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

C / C++ / MFC

 
GeneralRe: fscanf access violation problem Pin
David Crow5-Jul-05 3:29
David Crow5-Jul-05 3:29 
GeneralRe: fscanf access violation problem Pin
simaneal5-Jul-05 7:50
simaneal5-Jul-05 7:50 
GeneralRe: fscanf access violation problem Pin
simaneal5-Jul-05 7:45
simaneal5-Jul-05 7:45 
GeneralRe: fscanf access violation problem Pin
David Crow5-Jul-05 8:26
David Crow5-Jul-05 8:26 
GeneralFillBuffer Pin
Andrew Admire23-Jun-05 8:16
Andrew Admire23-Jun-05 8:16 
GeneralRe: FillBuffer Pin
David Crow23-Jun-05 8:18
David Crow23-Jun-05 8:18 
GeneralRe: FillBuffer Pin
Andrew Admire23-Jun-05 8:22
Andrew Admire23-Jun-05 8:22 
GeneralRe: FillBuffer Pin
David Crow23-Jun-05 9:22
David Crow23-Jun-05 9:22 
Andrew Admire wrote:
while(int i=0<10000)

What is the purpose of this? Initialize i and compare it to 10000 in two separate statements like:

int i = 0;
while (i < 10000)
   ...
That aside, the variable i is never incremented.

Andrew Admire wrote:
outFile.Open(strFileName, CFile::modeWrite | CFile::shareDenyWrite);

What if the file does not already exist? Don't you want to create it, too?

Andrew Admire wrote:
char buf[512];

What does this variable do? It's not being assigned anything.

Andrew Admire wrote:
int nBytesToWrite = FillBuffer(1024);

I already asked about FillBuffer(). You are using it incorrectly. Why is it even there?


"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRe: FillBuffer Pin
Andrew Admire23-Jun-05 9:30
Andrew Admire23-Jun-05 9:30 
GeneralRe: FillBuffer Pin
David Crow23-Jun-05 9:33
David Crow23-Jun-05 9:33 
GeneralRe: FillBuffer Pin
Andrew Admire23-Jun-05 9:38
Andrew Admire23-Jun-05 9:38 
GeneralRe: FillBuffer Pin
David Crow23-Jun-05 9:43
David Crow23-Jun-05 9:43 
GeneralRe: FillBuffer Pin
Andrew Admire23-Jun-05 9:45
Andrew Admire23-Jun-05 9:45 
Generalclass referencing problem Pin
zildjohn0123-Jun-05 7:40
zildjohn0123-Jun-05 7:40 
GeneralRe: class referencing problem Pin
Chris Losinger23-Jun-05 7:42
professionalChris Losinger23-Jun-05 7:42 
GeneralRe: class referencing problem Pin
John Simon23-Jun-05 7:52
John Simon23-Jun-05 7:52 
GeneralRe: class referencing problem Pin
Jose Lamas Rios23-Jun-05 7:48
Jose Lamas Rios23-Jun-05 7:48 
Generalnew problem Pin
John Simon23-Jun-05 9:35
John Simon23-Jun-05 9:35 
GeneralRe: new problem Pin
Jose Lamas Rios23-Jun-05 10:34
Jose Lamas Rios23-Jun-05 10:34 
GeneralRe: new problem Pin
John Simon23-Jun-05 11:37
John Simon23-Jun-05 11:37 
Generaltext box Pin
trigger9123-Jun-05 6:43
susstrigger9123-Jun-05 6:43 
GeneralRe: text box Pin
Trollslayer23-Jun-05 6:48
mentorTrollslayer23-Jun-05 6:48 
GeneralRe: text box Pin
David Crow23-Jun-05 6:54
David Crow23-Jun-05 6:54 
GeneralRe: text box Pin
Trollslayer23-Jun-05 7:33
mentorTrollslayer23-Jun-05 7:33 
GeneralRe: text box Pin
David Crow23-Jun-05 8:02
David Crow23-Jun-05 8:02 

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.