Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL / elegant file input (basic question!) Pin
Ryan Binns7-Sep-04 18:32
Ryan Binns7-Sep-04 18:32 
GeneralRe: STL / elegant file input (basic question!) Pin
LiquidEyes7-Sep-04 23:03
LiquidEyes7-Sep-04 23:03 
GeneralRe: STL / elegant file input (basic question!) Pin
Kevin McFarlane8-Sep-04 2:14
Kevin McFarlane8-Sep-04 2:14 
GeneralRe: STL / elegant file input (basic question!) Pin
LiquidEyes8-Sep-04 2:21
LiquidEyes8-Sep-04 2:21 
GeneralRe: STL / elegant file input (basic question!) Pin
Kevin McFarlane8-Sep-04 6:43
Kevin McFarlane8-Sep-04 6:43 
GeneralRe: STL / elegant file input (basic question!) Pin
Ryan Binns8-Sep-04 3:55
Ryan Binns8-Sep-04 3:55 
GeneralRe: STL / elegant file input (basic question!) Pin
LiquidEyes8-Sep-04 4:10
LiquidEyes8-Sep-04 4:10 
GeneralRe: STL / elegant file input (basic question!) Pin
Ryan Binns8-Sep-04 4:28
Ryan Binns8-Sep-04 4:28 
LiquidEyes wrote:
what structure can I read into instead of an old fashioned char* array?

Just quickly looking at the docs, it appears you can use ifstream::getline(mystring, number_of_chars). If you pass a size of, say, 10, it reads 9 characters and appends a NULL. Once again, you can add a third parameter which is the delimiter if you need it.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

Generalwhy rebuilding the proj failed eventhough it was running before. Pin
pnpfriend7-Sep-04 7:57
pnpfriend7-Sep-04 7:57 
GeneralRe: why rebuilding the proj failed eventhough it was running before. Pin
David Crow7-Sep-04 9:00
David Crow7-Sep-04 9:00 
GeneralRe: why rebuilding the proj failed eventhough it was running before. Pin
pnpfriend8-Sep-04 6:57
pnpfriend8-Sep-04 6:57 
GeneralCan't have a child window in the non-client area painting itself Pin
DaFrawg7-Sep-04 7:04
DaFrawg7-Sep-04 7:04 
Generalembedded activex Pin
s3b07-Sep-04 6:34
s3b07-Sep-04 6:34 
Generalsearching a grid vector Pin
webmanc7-Sep-04 5:17
webmanc7-Sep-04 5:17 
QuestionSpell Checker API? Pin
Steve Schaneville7-Sep-04 5:10
professionalSteve Schaneville7-Sep-04 5:10 
AnswerRe: Spell Checker API? Pin
Steve Schaneville7-Sep-04 5:20
professionalSteve Schaneville7-Sep-04 5:20 
AnswerRe: Spell Checker API? Pin
David Crow7-Sep-04 5:49
David Crow7-Sep-04 5:49 
GeneralRe: Spell Checker API? Pin
Steve Schaneville7-Sep-04 6:36
professionalSteve Schaneville7-Sep-04 6:36 
GeneralRe: Spell Checker API? Pin
Nemanja Trifunovic7-Sep-04 8:37
Nemanja Trifunovic7-Sep-04 8:37 
GeneralRe: Spell Checker API? Pin
David Crow7-Sep-04 8:56
David Crow7-Sep-04 8:56 
AnswerRe: Spell Checker API? Pin
Graham Bradshaw7-Sep-04 6:21
Graham Bradshaw7-Sep-04 6:21 
GeneralRe: Spell Checker API? Pin
Steve Schaneville7-Sep-04 6:35
professionalSteve Schaneville7-Sep-04 6:35 
GeneralCTreeCtrl Right Click question... Pin
Maximilien7-Sep-04 5:04
Maximilien7-Sep-04 5:04 
GeneralRe: CTreeCtrl Right Click question... Pin
Hans Ruck7-Sep-04 6:00
Hans Ruck7-Sep-04 6:00 
GeneralRe: CTreeCtrl Right Click question... Pin
Maximilien7-Sep-04 6:43
Maximilien7-Sep-04 6:43 

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.