Re: Unexpected Result
From: John Harrison (john_andronicus_at_hotmail.com)
Date: 05/12/04
- Next message: Alf P. Steinbach: "Re: Unexpected Result"
- Previous message: John J: "Unexpected Result"
- In reply to: John J: "Unexpected Result"
- Next in thread: John J: "Re: Unexpected Result"
- Reply: John J: "Re: Unexpected Result"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 12 May 2004 12:10:25 +0100
"John J" <...@...> wrote in message
news:0f46a3597a95693e1c8032da97babdfb@news.teranews.com...
>
> Thankyou to those people in this newsgroup that have answered my questions
> and helped me to learn whilst developing my yacht race classes.
>
> I have now completed the three classes (Yacht, Race and Entry) and created
> .cpp to test the classes. Everything compiles without fault; however, when
I
> run the program the first part of the expected output is not displayed. I
> thought there may have been a buffer setting in my compiler so I tried
> compiling and directing the output into another file, then when I viewed
the
> output file the results were the same. As I remove calls to functions from
> my test .cpp more information is displayed. It seems to behaving exactly
> like a buffer that flushes the initial input upon saturation.
>
> All the code is below. Can I please ask someone to have a look at it and
> advise where I'm going wrong (if I'm going wrong). If it is a buffer issue
> does anyone no of a workaround? my compiler is vc++.
>
> Thanks for any help
>
It's not a buffer issue, it's bug in your code (I don't know this but I'd be
prepared to bet a pound to a penny). Just to help everyone along could you
explain which part of the output is missing? You say the first part, but
which part is that exactly?
john
- Next message: Alf P. Steinbach: "Re: Unexpected Result"
- Previous message: John J: "Unexpected Result"
- In reply to: John J: "Unexpected Result"
- Next in thread: John J: "Re: Unexpected Result"
- Reply: John J: "Re: Unexpected Result"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|