Setting up your DEV C++
http://www.ee.hacettepe.edu.tr/~eyuksel/ELE118/
Alternatively, you can download Dev-C++ from http://sourceforge.net/project/downloading.php?group_id=10639&use_mirror=mesh&filename=devcpp-4.9.9.2_setup.exe&1522775
Creating a new source file:
Area where code is written
Compiling the source file (3 ways): 1) File menu > Execute, 2) Icon on toolbar 3) Shortcut keys (CTRL+F9)
No error in the code, so we can run the executable file
Running the executable file (3 ways): 1) File menu > Execute, 2) Icon on toolbar 3) Shortcut keys (CTRL+F10)
After running the executable file, you see the output:
After compiling, you may encounter compile errors which you must eliminate in order to have an executable file You see an example below. Dev-C++ shows you where the errors are. You should understand cause(s) of the errors and fix them. After getting a hands-on experience with your compiler, you will be able to obtain error-free codes.
Check out your book’s website http://www.pearsonhighered.com/bookseller/product/Problem-Solving-and-Program-Design-in-C/9780132936491.page#dw_resources