Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About a time event Pin
Fredrik Skog28-Sep-03 23:46
Fredrik Skog28-Sep-03 23:46 
GeneralRe: About a time event Pin
FlyingDancer29-Sep-03 0:33
FlyingDancer29-Sep-03 0:33 
Generaldirect draw and multimon problem Pin
gwenael28-Sep-03 22:07
gwenael28-Sep-03 22:07 
Generalgraphics query Pin
coda_x28-Sep-03 21:54
coda_x28-Sep-03 21:54 
QuestionAccelerator keys in modeless Dialog? Pin
Brian van der Beek28-Sep-03 21:53
Brian van der Beek28-Sep-03 21:53 
AnswerRe: Accelerator keys in modeless Dialog? Pin
Phil J Pearson29-Sep-03 2:50
Phil J Pearson29-Sep-03 2:50 
GeneralRe: Accelerator keys in modeless Dialog? Pin
Brian van der Beek29-Sep-03 2:59
Brian van der Beek29-Sep-03 2:59 
General"string" problem. Pin
WREY28-Sep-03 21:39
WREY28-Sep-03 21:39 
GeneralRe: "string" problem. Pin
ZoogieZork28-Sep-03 23:22
ZoogieZork28-Sep-03 23:22 
GeneralRe: "string" problem. Pin
Joaquín M López Muñoz28-Sep-03 23:25
Joaquín M López Muñoz28-Sep-03 23:25 
GeneralRe: "string" problem. Pin
WREY29-Sep-03 8:14
WREY29-Sep-03 8:14 
GeneralRe: "string" problem. Pin
Joaquín M López Muñoz29-Sep-03 9:33
Joaquín M López Muñoz29-Sep-03 9:33 
GeneralRe: "string" problem. Pin
WREY29-Sep-03 9:45
WREY29-Sep-03 9:45 
GeneralRe: "string" problem. Pin
Joaquín M López Muñoz29-Sep-03 9:50
Joaquín M López Muñoz29-Sep-03 9:50 
GeneralRe: "string" problem. Pin
WREY29-Sep-03 10:07
WREY29-Sep-03 10:07 
GeneralRe: "string" problem. Pin
David Crow29-Sep-03 5:42
David Crow29-Sep-03 5:42 
GeneralRe: "string" problem. Pin
WREY29-Sep-03 8:34
WREY29-Sep-03 8:34 
Thanks for replying.

Your sample gave the same result as:
while(str.end()!="\r");
which is, "receiving any number of strings and growing the vector, but unable to exit the loop."

The intent is to receive as many strings as inputted, and exit when finished.

The exiting part is the whole problem, because if I were to just enter one string, I can exit with:
while(str.end()=="\r");      // whitespace notwithstanding
I've tried a number of things while inside the loop (e.g. conducting certain discrete test and setting boolean values to signal to the loop that I'm ready to exit), and the best I could have ended up with came down to one of the two options I presented in my original posting.

Unsure | :~

William

Fortes in fide et opere!
GeneralRe: "string" problem. Pin
David Crow29-Sep-03 9:38
David Crow29-Sep-03 9:38 
GeneralRe: "string" problem. Pin
WREY29-Sep-03 9:53
WREY29-Sep-03 9:53 
GeneralSEC_WINNT_AUTH_IDENTITY_EXW Pin
Bernhard28-Sep-03 20:58
Bernhard28-Sep-03 20:58 
GeneralNT service stop event Pin
Aqualic28-Sep-03 20:55
Aqualic28-Sep-03 20:55 
GeneralClipboard content as bitmap Pin
Thoppae28-Sep-03 20:47
Thoppae28-Sep-03 20:47 
Generalabout CListCtrl Pin
muddog28-Sep-03 20:37
muddog28-Sep-03 20:37 
GeneralRe: about CListCtrl Pin
chifor28-Sep-03 20:53
chifor28-Sep-03 20:53 
GeneralRe: about CListCtrl Pin
Abin28-Sep-03 22:19
Abin28-Sep-03 22:19 

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.