At 01:59 PM 3/5/2004, you wrote:
>Hello,
>
>when I try to compile this...
>
>//zozo.cc
>#include
>int main()
>{
> std::cout << "Salut" << std::endl;
> return 0;
>}
>
>...with...
>gcc zozo.cc
>
>...gcc give me...
>/cygdrive/c/DOCUME~1/travonz/LOCALS~1/Temp/ccuTTqP6.o(.text+0x2f):zozo.cc: undefined
> when I try to compile this...
>
> //zozo.cc
> #include
> int main()
> {
> std::cout << "Salut" << std::endl;
> return 0;
> }
>
> ...with...
> gcc zozo.cc
Use g++ zozo.cc instead.
Pete
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin
Hello,
when I try to compile this...
//zozo.cc
#include
int main()
{
std::cout << "Salut" << std::endl;
return 0;
}
...with...
gcc zozo.cc
...gcc give me...
/cygdrive/c/DOCUME~1/travonz/LOCALS~1/Temp/ccuTTqP6.o(.text+0x2f):zozo.cc:
undefined reference to `std::cout'
/cygdrive/c/DOCUME~1/travo
3 matches
Mail list logo