Hi,
I'm an absolute beginner (well, apart from doing some Basic programming many years ago).
At the moment I'm falling at the first hurdle – trying to compile C, using the Dummies guide (don't laugh, please!).
I'm reasonably proficient on a PC – I'm running Windows 7 64 bit. The author suggests using MinGW to compile C.
Downloaded and installed the compiler, opened a DOS window and the command “gcc goodbye.c -o goodbye” as per the authors instructions.
The first example in the book is:
I used notepad, saved as text using ANSI, then tried to compile.Code:#include <stdio.h> int main() { printf(“Goodbye, cruel world!\n”); return(0); }
The errors thrown up are in the attached screenshot (not that I understand any of them yet).
For all I know maybe I haven't installed MinGW correctly?