Chris,

Please watch the subjects, I almost missed this -> "Redhat-list digest, Vol 1 
#3799 - 5 msgs"

On Sunday 10 February 2002 12:23, you said something about:
> I tried what you advised and even copied your source
> code word for word for hello.cpp and got this error
>
> output:
> > g++ hello.cpp -o hello
>
> hello.cpp:11: parse erroe before ';'
>

The only reason that I question your accuracy in duplicating what I provided 
is because you got an error on line 11 of an 8 line program. ;)

What editor are you using to create your programs?

Which line is line 11? The "cout" or the "return"?

Are you typing this in or cut-n-pasting?

Have you tried grabbing a tar-ball of some small C++ program to see if that 
gets similar problems? (There may also be some in the 
/usr/share/doc/qt-devel-2.3.0/examples/hello directory (you may or may not 
have this) that you could try just to test the compiler.) If something like 
that compiles, then you really need to figure out what is being done 
differently. If it fails to compile then you can really see if you've got a 
compiler problem or something inhibiting the compiler from proper operation.

-- 
Brian Ashe                                                     CTO
Dee-Web Software Services, LLC.                  [EMAIL PROTECTED]



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to