Dev-C++  Compile/Run  with  SDL


After you have installed Dev-C++, use these step-by-step instructions to compile and run your first program.:

1. To run Dev-C++ on your computer goto <Start><Programs><Bloodshed Dev-C++> <Dev-C++> You will see the following window come up (make a new project as shown):

s1

2. Next you will see (click on "SDL") and the click <ok>):

s2


3. Next you will see (right-click on the "Creat new Project" form and then <new> <Folder>
 to but your project in its own folder).

s3

4. Next you will see the IDE (Intigrated Development Environment). You can click on the <Compiler/Run> button (as shown); this will cause your program to run, if there are no error.
You can cut and paste programs over this starting program to compile and run them or start from scratch and use this area as an editor. 
Use the <Build all> button to make sure your everything is up-to-date (do this if you have recently moved the folder).

s4


*** In general the IDE works very well, but occasionally it will hang or refuse to close
properly. This is usually because you closed a window when your program was waiting for the <Escape> key to be pressed.

The IDE is like a shell sitting on top of the G++ compiler.  Communication between the two programs can sometimes fail. Don't work for hours without saving. A reboot is a good idea if your are sure it should work and doesn't, sometimes you are right. If you have questions or insights, post them to the message board...