Click here to Skip to main content
16,005,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: what is private & static function-MFC Pin
Eytukan7-Mar-06 20:43
Eytukan7-Mar-06 20:43 
QuestionHOTKEY......(Urgent pls) Pin
RockyJames7-Mar-06 5:07
RockyJames7-Mar-06 5:07 
Answer[Message Deleted] Pin
ddmcr7-Mar-06 5:24
ddmcr7-Mar-06 5:24 
GeneralRe: HOTKEY......(Urgent pls) Pin
RockyJames7-Mar-06 5:52
RockyJames7-Mar-06 5:52 
Questionformatted file io Pin
ronwurster7-Mar-06 5:04
ronwurster7-Mar-06 5:04 
AnswerRe: formatted file io Pin
David Crow7-Mar-06 5:32
David Crow7-Mar-06 5:32 
GeneralRe: formatted file io Pin
ronwurster7-Mar-06 10:53
ronwurster7-Mar-06 10:53 
GeneralRe: formatted file io Pin
David Crow8-Mar-06 2:20
David Crow8-Mar-06 2:20 
ronwurster wrote:
However, I tried reading the first line (using fscanf) and the pointer was NOT positioned at the beginning of the second line. In fact it was not on the 2nd line at all. Did you mean I should use "fread"? Can you explain please.


char szLine[128];
fscanf(pFile, "%[^\n]\n", szLine);
You can also use fgets().


"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

"There is no death, only a change of worlds." - Native American Proverb


AnswerRe: formatted file io Pin
eusto7-Mar-06 9:52
eusto7-Mar-06 9:52 
Questionwhich pad.exe do u use to submit software? Pin
includeh107-Mar-06 4:48
includeh107-Mar-06 4:48 
AnswerRe: which pad.exe do u use to submit software? Pin
James R. Twine7-Mar-06 4:52
James R. Twine7-Mar-06 4:52 
GeneralRe: which pad.exe do u use to submit software? Pin
includeh107-Mar-06 5:02
includeh107-Mar-06 5:02 
GeneralRe: which pad.exe do u use to submit software? Pin
James R. Twine7-Mar-06 5:27
James R. Twine7-Mar-06 5:27 
QuestionRotating a 2D line Pin
FarPointer7-Mar-06 4:16
FarPointer7-Mar-06 4:16 
AnswerRe: Rotating a 2D line Pin
includeh107-Mar-06 4:50
includeh107-Mar-06 4:50 
GeneralRe: Rotating a 2D line Pin
FarPointer7-Mar-06 5:13
FarPointer7-Mar-06 5:13 
AnswerRe: Rotating a 2D line Pin
Andy Moore7-Mar-06 6:04
Andy Moore7-Mar-06 6:04 
AnswerRe: Rotating a 2D line Pin
El Corazon7-Mar-06 8:50
El Corazon7-Mar-06 8:50 
AnswerRe: Rotating a 2D line Pin
Steve Echols7-Mar-06 20:14
Steve Echols7-Mar-06 20:14 
QuestionMaximum size of scrollbars Pin
pgrohs7-Mar-06 3:52
pgrohs7-Mar-06 3:52 
AnswerRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 4:39
Gary R. Wheeler7-Mar-06 4:39 
GeneralRe: Maximum size of scrollbars Pin
pgrohs7-Mar-06 6:16
pgrohs7-Mar-06 6:16 
GeneralRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 6:39
Gary R. Wheeler7-Mar-06 6:39 
AnswerRe: Maximum size of scrollbars Pin
pgrohs7-Mar-06 7:10
pgrohs7-Mar-06 7:10 
GeneralRe: Maximum size of scrollbars Pin
Gary R. Wheeler7-Mar-06 12:23
Gary R. Wheeler7-Mar-06 12:23 

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.