Hello All, since this evening I have a very weird problem: I have a problem when executing this code
Speicherzugriffsfehler (Speicherabzug geschrieben)
#include <iostream>
int main(int argc, char **argv) {
int* x; *x=2;
return 0;
}
#include <iostream>
int main(int argc, char **argv) {
int* x; *x=2;
return 0;
}
To copy to clipboard, switch view to plain text mode
it does compile but says
Speicherzugriffsfehler (Speicherabzug geschrieben)
Speicherzugriffsfehler (Speicherabzug geschrieben)
To copy to clipboard, switch view to plain text mode
(Something like segmentation fault in english I think)
Executing in debug mode will say
*** Programm hat Signal SIGSEGV (Segmentation fault) empfangen ***
*** Programm hat Signal SIGSEGV (Segmentation fault) empfangen ***
To copy to clipboard, switch view to plain text mode
I am very confused because I have compiled a lot of other programm so far and I did no change anything to my installation...
If anyone as an idea....
I am using ubuntu 12.04
Bookmarks