[prog] Re: C++

Sue Stones suzo at spin.net.au
Wed Jan 21 03:31:28 EST 2004


On Wed, 21 Jan 2004 02:08 am, wolf wrote:
> It's not doing quite what it's supposed to but here's the modified
> version based on everyone's
> suggestions so far : )  It's most definitely better than it was before

What is it doing, and what is it suposed to?

> : )  Thanks!
>
> #include <iostream>
>
> #include <cctype>
>
> using namespace std;
>
> int main()
>
> {
>
> 	int seat [10];

Note you are not now initialising this array at all, it could contain 
anything, including all 1's

sue


More information about the Programming mailing list