Re: g++ libcygwin.a has an undefined reference

2004-05-18 Thread Christian Rudiger
Hello Al, thank you, it worked. i putted one at the end of the program just writing : }; // end of class int main(){} why does that work? I think thats strange. Regards Christian Rudiger Al Slater wrote: Try putting a main function in the program! Regards Al -Original Message- From

g++ libcygwin.a has an undefined reference

2004-05-18 Thread Christian Rudiger
.o)(.text+0x7c): undefined reference to [EMAIL PROTECTED]' collect2: ld returned 1 exit status make: *** [testthings.exe] Error 1 Compilation exited abnormally with code 2 at Tue May 18 11:05:17 Regards Christian Rudiger -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Prob

g++ include string.h

2004-05-17 Thread Christian Rudiger
Hi there, i'm kind of newbee to c++ programming and try to do my first steps with the gcc in delivered with cygwin. I'd like to include the string.h into my little program but it wasn't found as the compiler doesn't accept my string declarations. here's my program and what the compiler sais: **