A
arunix
hello all,
i have a problem. i dont know much about "C"
i write a simple program[given below].
#include<stdio.h>
int main()
{
printf("Hello World!!!!");
}
but after compile it shows this
gcc ex-c-1.cpp
"error"
/tmp/cc6ae3vQ.o.eh_frame+0x12): undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status
i dont know what is that. i google this error but nothing.
so what i should Do.
is it the right way to write or compile the program?
Thanks
i have a problem. i dont know much about "C"
i write a simple program[given below].
#include<stdio.h>
int main()
{
printf("Hello World!!!!");
}
but after compile it shows this
gcc ex-c-1.cpp
"error"
/tmp/cc6ae3vQ.o.eh_frame+0x12): undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status
i dont know what is that. i google this error but nothing.
so what i should Do.
is it the right way to write or compile the program?
Thanks