Click here to Skip to main content
15,887,350 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Handling a double click Pin
David Crow2-Mar-06 10:33
David Crow2-Mar-06 10:33 
GeneralRe: Handling a double click Pin
Jader892-Mar-06 10:47
Jader892-Mar-06 10:47 
GeneralRe: Handling a double click Pin
David Crow2-Mar-06 10:58
David Crow2-Mar-06 10:58 
Questionloop processing Pin
ronwurster2-Mar-06 9:51
ronwurster2-Mar-06 9:51 
AnswerRe: loop processing Pin
David Crow2-Mar-06 9:53
David Crow2-Mar-06 9:53 
GeneralRe: loop processing Pin
ronwurster3-Mar-06 4:33
ronwurster3-Mar-06 4:33 
Questiongetline from file Pin
Peter Charlesworth2-Mar-06 9:34
Peter Charlesworth2-Mar-06 9:34 
AnswerRe: getline from file Pin
David Crow2-Mar-06 9:52
David Crow2-Mar-06 9:52 
Peter Charlesworth wrote:
Whenever I use the 'getline' function to get a line from a file and then ask the
program to display that line, it always displays more than a line.


What do you mean? I tried your code verbatim and it worked fine.

Peter Charlesworth wrote:
In other words: it doesn't stop 'getting the line' whenever it encounters a
newline.


It did for me. What was printed to the console window looked exactly like the contents of the file.


"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


GeneralRe: getline from file Pin
Peter Charlesworth2-Mar-06 9:57
Peter Charlesworth2-Mar-06 9:57 
GeneralRe: getline from file Pin
David Crow2-Mar-06 10:05
David Crow2-Mar-06 10:05 
GeneralRe: getline from file Pin
Peter Charlesworth3-Mar-06 3:01
Peter Charlesworth3-Mar-06 3:01 
Questionembedded VC and activesync problem Pin
neodan2-Mar-06 9:27
neodan2-Mar-06 9:27 
AnswerRe: embedded VC and activesync problem Pin
Mauro Leggieri2-Mar-06 16:11
Mauro Leggieri2-Mar-06 16:11 
GeneralRe: embedded VC and activesync problem Pin
neodan2-Mar-06 21:15
neodan2-Mar-06 21:15 
Questioninteger/ character Pin
cuteee2-Mar-06 7:20
cuteee2-Mar-06 7:20 
AnswerRe: integer/ character Pin
David Crow2-Mar-06 7:51
David Crow2-Mar-06 7:51 
QuestionRe: integer/ character Pin
cuteee2-Mar-06 8:07
cuteee2-Mar-06 8:07 
AnswerRe: integer/ character Pin
David Crow2-Mar-06 8:24
David Crow2-Mar-06 8:24 
QuestionCalling .exe withing project. Pin
CodeGoose2-Mar-06 6:59
CodeGoose2-Mar-06 6:59 
AnswerRe: Calling .exe withing project. Pin
Brett Peirce2-Mar-06 7:10
Brett Peirce2-Mar-06 7:10 
AnswerRe: Calling .exe withing project. Pin
David Crow2-Mar-06 7:47
David Crow2-Mar-06 7:47 
Questionhelp plz Pin
mechalien2-Mar-06 6:43
mechalien2-Mar-06 6:43 
AnswerRe: help plz Pin
Maximilien2-Mar-06 6:52
Maximilien2-Mar-06 6:52 
AnswerRe: help plz Pin
Peter Charlesworth2-Mar-06 9:40
Peter Charlesworth2-Mar-06 9:40 
AnswerRe: help plz Pin
ThatsAlok2-Mar-06 17:27
ThatsAlok2-Mar-06 17:27 

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.