Click here to Skip to main content
15,922,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralA question about reading and processing very large image Pin
swandream15-Nov-03 0:09
swandream15-Nov-03 0:09 
GeneralRe: A question about reading and processing very large image Pin
Peter Molnar15-Nov-03 15:26
Peter Molnar15-Nov-03 15:26 
GeneralRe: A question about reading and processing very large image Pin
swandream15-Nov-03 20:19
swandream15-Nov-03 20:19 
GeneralRe: A question about reading and processing very large image Pin
Peter Molnar16-Nov-03 5:08
Peter Molnar16-Nov-03 5:08 
GeneralRe: A question about reading and processing very large image Pin
swandream16-Nov-03 14:32
swandream16-Nov-03 14:32 
GeneralRe: A question about reading and processing very large image Pin
Todd Smith17-Nov-03 7:12
Todd Smith17-Nov-03 7:12 
GeneralThread exist or not Pin
Boby.George14-Nov-03 23:26
professionalBoby.George14-Nov-03 23:26 
GeneralRe: Thread exist or not Pin
Peter Molnar15-Nov-03 15:31
Peter Molnar15-Nov-03 15:31 
GeneralTimer / Waiting Question Pin
Steve Messer14-Nov-03 22:02
Steve Messer14-Nov-03 22:02 
GeneralRe: Timer / Waiting Question Pin
Prakash Nadar15-Nov-03 1:04
Prakash Nadar15-Nov-03 1:04 
GeneralRe: Timer / Waiting Question Pin
Steve Messer15-Nov-03 5:08
Steve Messer15-Nov-03 5:08 
GeneralRe: Timer / Waiting Question Pin
Ravi Bhavnani15-Nov-03 2:57
professionalRavi Bhavnani15-Nov-03 2:57 
GeneralRe: Timer / Waiting Question Pin
Steve Messer15-Nov-03 5:14
Steve Messer15-Nov-03 5:14 
Questionhow Can I operate the graph9 in WORD Pin
Jim Chan14-Nov-03 20:33
Jim Chan14-Nov-03 20:33 
GeneralC++ Question. Pin
WREY14-Nov-03 20:23
WREY14-Nov-03 20:23 
GeneralRe: C++ Question. Pin
Rickard Andersson2015-Nov-03 0:31
Rickard Andersson2015-Nov-03 0:31 
GeneralRe: C++ Question. Pin
Prakash Nadar15-Nov-03 1:00
Prakash Nadar15-Nov-03 1:00 
GeneralRe: C++ Question. Pin
Rickard Andersson2015-Nov-03 1:10
Rickard Andersson2015-Nov-03 1:10 
GeneralRe: C++ Question. Pin
WREY15-Nov-03 7:15
WREY15-Nov-03 7:15 
GeneralRe: C++ Question. Pin
WREY15-Nov-03 7:09
WREY15-Nov-03 7:09 
GeneralRe: C++ Question. Pin
Kevin McFarlane15-Nov-03 4:12
Kevin McFarlane15-Nov-03 4:12 
GeneralRe: C++ Question. Pin
WREY15-Nov-03 7:23
WREY15-Nov-03 7:23 
GeneralRe: C++ Question. Pin
Kevin McFarlane15-Nov-03 10:00
Kevin McFarlane15-Nov-03 10:00 
GeneralRe: C++ Question. Pin
WREY15-Nov-03 10:45
WREY15-Nov-03 10:45 
Thanks for your reply.

Even stranger! that you have VC++ 6, SP3 and claim it works for you, while I with VC++ 6, SP5, cannot get the kind of behavior I'm looking for.

The problem (it looks more and more to be), is that 'getline() isn't receiving any data from the input queue, because a 'cout' of the string (which is the input buffer) reveals NOTHING in it. Consequently, when the test is made to see if data is absent, the test succeeds because NO data has been collected and is the reason why the invalid segment gets activated.

So the problem doesn't seem to rest with 'string', but more with 'getline()'.

To be honest with you, 'getline()' has been a problem child for me every time I try to use it, and this time is no exception.

Sigh | :sigh:

William

Fortes in fide et opere!
GeneralRe: C++ Question. Pin
Prakash Nadar15-Nov-03 19:58
Prakash Nadar15-Nov-03 19:58 

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.