I downloaded the Dev-C++ software and started to write the codes in it, saved it as a .c file, compiled it into a .exe file then ran the .exe file. But when I run the .exe file I just see some black window open and closes really fast, and I don't see the anything like what the book showed, a black window with words in it.
The code is
- Code: Select all
#include <stdio.h>
main()
{
printf (“Howdy, neighbor! This is my first C program.\n”);
return 0;
}
Straight from the book. It is supposed to display the msg “Howdy, neighbor! This is my first C program.\n” but the situation as described above happened instead. May I ask what is wrong?
Btw, I run on Windows 7 32 bit.



