problem with g++ on cygwin
Thu Oct 20 13:07:00 GMT 2005
I'm using g++ on cygwin for developping some c++
I noticed that everytime i manipulate pointers i have
an error saying:
"Segmentation Fault <Core Dumped>".
An other file is added to the working directory. If i
compile with the following:
g++ -o file_name file_name.cc
i have a file_name.exe but also a
i wrote a very simple example for testing:
char * str;
str = "hello";
*(str+1) = 'a';
This simple example also gave me the same error.
I hope somebody can help me with this.
Yahoo! Music Unlimited
Access over 1 million songs. Try it free.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin