Hi all,
I'm having a very strange execution error, even on extremely simple Hello, World programs.
e.g.
Code:
#include <stdio.h>
int main (int argc, const char * argv[]) {
// insert code here...
printf("Hello, World!\n");
return 0;
}
I get a SIGSEGV (type 11) or a type 4 error (don't recall the code). I've got no idea what's going on. I wonder if I've got a physical problem with my computer? I'm downloading Apple's Tech Tool Deluxe, and running NAV just to be sure.
Here are my computers specs, in case it's relevant
Model Name: MacBook Pro
Model Identifier: MacBookPro3,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2.2 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache: 4 MB
Memory: 4 GB
Bus Speed: 800 MHz
Boot ROM Version: MBP31.0070.B07