Re: C++ compile error

2006-01-04 Thread Jonathan Arnold
David Miao wrote: On 12/16/05, Nathan Vidican <[EMAIL PROTECTED]> wrote: David Miao wrote: Dear list, I try to compile a hello world C++ program in FreeBSD 6.0, but get an error as below: [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C hello.C: In function `int main()': hello.C:5: error: `cout'

Re: C++ compile error

2005-12-16 Thread Nathan Vidican
Giorgos Keramidas wrote: On 2005-12-16 23:09, David Miao <[EMAIL PROTECTED]> wrote: Dear list, I try to compile a hello world C++ program in FreeBSD 6.0, but get an error as below: [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C hello.C: In function `int main()': hello.C:5: error: `cout' undecl

Re: C++ compile error

2005-12-16 Thread Harley D. Eades III
On Fri, 2005-12-16 at 10:41 -0500, Louis J. LeBlanc wrote: > On Fri, December 16, 2005 10:33 am, Nathan Vidican wrote: > > David Miao wrote: > >> Dear list, > >> > >> I try to compile a hello world C++ program in FreeBSD 6.0, but get an > >> error as below: > >> > >> [EMAIL PROTECTED] ~/cpp]% CC -o

Re: C++ compile error

2005-12-16 Thread Giorgos Keramidas
On 2005-12-16 23:09, David Miao <[EMAIL PROTECTED]> wrote: > Dear list, > > I try to compile a hello world C++ program in FreeBSD 6.0, but get an > error as below: > > [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C > hello.C: In function `int main()': > hello.C:5: error: `cout' undeclared (first use

Re: C++ compile error

2005-12-16 Thread David Miao
On 12/16/05, Nathan Vidican <[EMAIL PROTECTED]> wrote: > David Miao wrote: > > Dear list, > > > > I try to compile a hello world C++ program in FreeBSD 6.0, but get an > > error as below: > > > > [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C > > hello.C: In function `int main()': > > hello.C:5: err

Re: C++ compile error

2005-12-16 Thread Louis J. LeBlanc
On Fri, December 16, 2005 10:33 am, Nathan Vidican wrote: > David Miao wrote: >> Dear list, >> >> I try to compile a hello world C++ program in FreeBSD 6.0, but get an >> error as below: >> >> [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C >> hello.C: In function `int main()': >> hello.C:5: error: `

Re: C++ compile error

2005-12-16 Thread Nathan Vidican
David Miao wrote: Dear list, I try to compile a hello world C++ program in FreeBSD 6.0, but get an error as below: [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C hello.C: In function `int main()': hello.C:5: error: `cout' undeclared (first use this function) hello.C:5: error: (Each undeclared id

Re: C++ compile error

2005-12-16 Thread Nathan Vidican
David Miao wrote: Dear list, I try to compile a hello world C++ program in FreeBSD 6.0, but get an error as below: [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C hello.C: In function `int main()': hello.C:5: error: `cout' undeclared (first use this function) hello.C:5: error: (Each undeclared id

C++ compile error

2005-12-16 Thread David Miao
Dear list, I try to compile a hello world C++ program in FreeBSD 6.0, but get an error as below: [EMAIL PROTECTED] ~/cpp]% CC -o hello hello.C hello.C: In function `int main()': hello.C:5: error: `cout' undeclared (first use this function) hello.C:5: error: (Each undeclared identifier is reported