Click here to Skip to main content
15,905,068 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: I need help to display a dialog from Resource-only DLL Pin
wb28-Jul-03 23:26
wb28-Jul-03 23:26 
GeneralRe: I need help to display a dialog from Resource-only DLL Pin
Ryan Binns29-Jul-03 0:18
Ryan Binns29-Jul-03 0:18 
Questionhow to read a file correctly ;) Pin
User-37793628-Jul-03 22:37
User-37793628-Jul-03 22:37 
AnswerRe: how to read a file correctly ;) Pin
JensB28-Jul-03 22:43
JensB28-Jul-03 22:43 
GeneralRe: how to read a file correctly ;) Pin
User-37793628-Jul-03 22:50
User-37793628-Jul-03 22:50 
GeneralRe: how to read a file correctly ;) Pin
Bob Stanneveld29-Jul-03 1:01
Bob Stanneveld29-Jul-03 1:01 
GeneralRe: how to read a file correctly ;) Pin
David Crow29-Jul-03 2:28
David Crow29-Jul-03 2:28 
AnswerRe: how to read a file correctly ;) Pin
David Chamberlain29-Jul-03 3:05
David Chamberlain29-Jul-03 3:05 
You could also try using fscanf, which includes a format parameter, and you can specify that the scan reads up to but not including a set of characters. (From memory, check the docs) ...

fscanf (fileptr, "%^['\n']s, &buf);

The format specifier is essentially %s, but in between the % and the s is the "up to but not including this list of chars ... the newline."

Dave

"You can say that again." -- Dept. of Redundancy Dept.
GeneralDelete profilestring Pin
JensB28-Jul-03 22:34
JensB28-Jul-03 22:34 
GeneralRe: Delete profilestring Pin
Manfred Staiger29-Jul-03 0:49
Manfred Staiger29-Jul-03 0:49 
GeneralRe: Delete profilestring Pin
David Chamberlain29-Jul-03 3:11
David Chamberlain29-Jul-03 3:11 
GeneralRe: Delete profilestring Pin
Andy Bantly20-Aug-13 8:18
Andy Bantly20-Aug-13 8:18 
GeneralAbout ftp Pin
Scozturk28-Jul-03 22:32
professionalScozturk28-Jul-03 22:32 
GeneralRe: About ftp Pin
David Crow29-Jul-03 2:35
David Crow29-Jul-03 2:35 
GeneralOnAfterPrint Event Pin
Keith Worden28-Jul-03 22:25
Keith Worden28-Jul-03 22:25 
Questionhow I show *.mdb table on a dialog ? Pin
Emre Zorlu28-Jul-03 21:02
Emre Zorlu28-Jul-03 21:02 
AnswerRe: how I show *.mdb table on a dialog ? Pin
Exceter28-Jul-03 21:46
Exceter28-Jul-03 21:46 
GeneralRe: how I show *.mdb table on a dialog ? Pin
Emre Zorlu28-Jul-03 22:27
Emre Zorlu28-Jul-03 22:27 
GeneralRe: how I show *.mdb table on a dialog ? Pin
Cheickna28-Jul-03 23:31
Cheickna28-Jul-03 23:31 
AnswerRe: how I show *.mdb table on a dialog ? Pin
Toni7829-Jul-03 15:42
Toni7829-Jul-03 15:42 
QuestionHow to use GridCtrl Pin
Kanghongyuan28-Jul-03 20:00
Kanghongyuan28-Jul-03 20:00 
GeneralProblem with MFC code with ActiveX Pin
harinath28-Jul-03 19:24
professionalharinath28-Jul-03 19:24 
GeneralRe: Problem with MFC code with ActiveX Pin
Cedric Moonen28-Jul-03 20:06
Cedric Moonen28-Jul-03 20:06 
GeneralRe: Problem with MFC code with ActiveX Pin
harinath28-Jul-03 23:09
professionalharinath28-Jul-03 23:09 
GeneralSetting Image to ClistCtrl Pin
modular28-Jul-03 18:39
modular28-Jul-03 18:39 

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.