Click here to Skip to main content
15,910,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPalmOS3.5 sdk Pin
GreenLantern15-Mar-06 9:16
GreenLantern15-Mar-06 9:16 
AnswerRe: PalmOS3.5 sdk Pin
El Corazon15-Mar-06 10:38
El Corazon15-Mar-06 10:38 
QuestionCRecordset::GetFieldValue + UNICODE = problem Pin
leandrobecker15-Mar-06 8:56
leandrobecker15-Mar-06 8:56 
Questionto interagate each word in a line of stringstream Pin
mrby12315-Mar-06 7:09
mrby12315-Mar-06 7:09 
QuestionRe: to interagate each word in a line of stringstream Pin
David Crow15-Mar-06 7:16
David Crow15-Mar-06 7:16 
AnswerRe: to interagate each word in a line of stringstream Pin
mrby12315-Mar-06 7:23
mrby12315-Mar-06 7:23 
QuestionRe: to interagate each word in a line of stringstream Pin
David Crow15-Mar-06 7:36
David Crow15-Mar-06 7:36 
AnswerRe: to interagate each word in a line of stringstream Pin
mrby12315-Mar-06 7:46
mrby12315-Mar-06 7:46 
Thanks.

My intention is to use getline to read one line. what is the delimeter should I use ?
I think this is the key. Maybe the getline only reads a word each time with curent code?

With the folowing code I read a file and write it into another file with the same format.

while (! f_ptr1.eof())
{
// f_ptr1.getline(buffer_seed,58,'"\n"');
f_ptr1.getline(buffer_seed,60,' ');

f_ptr2.write(qq.c_str(),f_ptr1.gcount());
}

GeneralRe: to interagate each word in a line of stringstream Pin
David Crow15-Mar-06 8:12
David Crow15-Mar-06 8:12 
GeneralRe: to interagate each word in a line of stringstream Pin
mrby12315-Mar-06 8:18
mrby12315-Mar-06 8:18 
QuestionRe: to interagate each word in a line of stringstream Pin
David Crow15-Mar-06 8:34
David Crow15-Mar-06 8:34 
AnswerRe: to interagate each word in a line of stringstream Pin
mrby12315-Mar-06 8:40
mrby12315-Mar-06 8:40 
GeneralRe: to interagate each word in a line of stringstream Pin
David Crow27-Mar-06 9:20
David Crow27-Mar-06 9:20 
GeneralRe: to interagate each word in a line of stringstream Pin
mrby12327-Mar-06 9:53
mrby12327-Mar-06 9:53 
QuestionRe: to interagate each word in a line of stringstream Pin
David Crow27-Mar-06 10:14
David Crow27-Mar-06 10:14 
AnswerRe: to interagate each word in a line of stringstream Pin
mrby12327-Mar-06 10:22
mrby12327-Mar-06 10:22 
QuestionCannot "build" project.clw over "network"?? Pin
Vaclav15-Mar-06 6:45
Vaclav15-Mar-06 6:45 
QuestionRe: Cannot "build" project.clw over "network"?? Pin
David Crow15-Mar-06 8:35
David Crow15-Mar-06 8:35 
Questionmax characters of an array of char Pin
Trankil15-Mar-06 6:04
Trankil15-Mar-06 6:04 
AnswerRe: max characters of an array of char Pin
David Crow15-Mar-06 6:10
David Crow15-Mar-06 6:10 
AnswerRe: max characters of an array of char Pin
Joe Woodbury15-Mar-06 7:42
professionalJoe Woodbury15-Mar-06 7:42 
Questionmulti-project solution dependencies - [ modified ² ] Pin
toxcct15-Mar-06 5:45
toxcct15-Mar-06 5:45 
AnswerRe: multi-project solution dependencies - [ modified ² ] Pin
yongwpi15-Mar-06 10:41
yongwpi15-Mar-06 10:41 
GeneralRe: multi-project solution dependencies - [ modified ² ] Pin
toxcct15-Mar-06 21:19
toxcct15-Mar-06 21:19 
QuestionWin32 Pin
adiilah15-Mar-06 5:34
adiilah15-Mar-06 5:34 

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.