Instructions for Downloading and Installing Dev C++ Compiler, Assignments of Computer Science

Step-by-step instructions for downloading, installing, and running the dev c++ compiler. It covers accessing the download page, selecting the correct download link, saving the setup file, installing the compiler, creating a new source file, compiling the program, and preventing the window from disappearing after running.

Typology: Assignments

Pre 2010

Uploaded on 02/24/2010

koofers-user-2p5
koofers-user-2p5 🇺🇸

3

(1)

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Downloading Dev C++ Compiler
1. Go to http://www.bloodshed.net/devcpp.html.
2. Go under Dev C++ 5 (currently beta) to the bottom of that "box" and click on "Go to
Download Page" this will take you to http://www.bloodshed.net/dev/devcpp.html.
3. Go down to the section that is titled, "Downloads" in bold. Then, click on the first link
(nearest the top of that section) titled SourceForge. This takes you to a page with a table
of locations and links labeled "Download" click on any of these Download links.
4. On this page there will be a message that says your download will begin shortly. If it
doesn't click on the given link near the top of the page. Once you do this, you'll get a
dialog box that asks you to save a 9 MB file called devcpp-4.9.9.2_setup.exe. (It will
show up without .exe on it.) Save it to your C drive.
5. Open a window and click to the C: drive. Find the file you just saved, devcpp-
4.9.9.2_setup.exe. Double click on the icon for it. Answer the questions that it asks. (You
want it in English. Agree to the license agreement. Do a full install. Pick a directory to do
the installation. The default is C:\Dev-Cpp. This is fine. Then click "Install". After that,
you'll get a few more questions. You don't need to install the code completion cache. Do
it if you like.
6. To create a new source file, click on File and then New. Then type in the hello.c
program shown in class. After you type in the program, save it to an appropriate
directory. (Call the program hello.c, thus, change the file type to .c, the default is .cpp)
Next, compile the program by going to the Execute menu and choosing Compile. The
shorthand key for this is Ctrl-F9. If the program compiles properly, then go ahead and run
it by going to the Execute menu and choosing "Run"
7. When you run a program, you'll see that the window immediately disappears. To
prevent this, add the following line right before return 0; in main:
system("PAUSE");

Partial preview of the text

Download Instructions for Downloading and Installing Dev C++ Compiler and more Assignments Computer Science in PDF only on Docsity!

Downloading Dev C++ Compiler

1. Go to http://www.bloodshed.net/devcpp.html. 2. Go under Dev C++ 5 (currently beta) to the bottom of that "box" and click on "Go to Download Page" this will take you to http://www.bloodshed.net/dev/devcpp.html. 3. Go down to the section that is titled, "Downloads" in bold. Then, click on the first link (nearest the top of that section) titled SourceForge. This takes you to a page with a table of locations and links labeled "Download" click on any of these Download links. 4. On this page there will be a message that says your download will begin shortly. If it doesn't click on the given link near the top of the page. Once you do this, you'll get a dialog box that asks you to save a 9 MB file called devcpp-4.9.9.2_setup.exe. (It will show up without .exe on it.) Save it to your C drive. 5. Open a window and click to the C: drive. Find the file you just saved, devcpp- 4.9.9.2_setup.exe. Double click on the icon for it. Answer the questions that it asks. (You want it in English. Agree to the license agreement. Do a full install. Pick a directory to do the installation. The default is C:\Dev-Cpp. This is fine. Then click "Install". After that, you'll get a few more questions. You don't need to install the code completion cache. Do it if you like. 6. To create a new source file, click on File and then New. Then type in the hello.c program shown in class. After you type in the program, save it to an appropriate directory. (Call the program hello.c, thus, change the file type to .c, the default is .cpp) Next, compile the program by going to the Execute menu and choosing Compile. The shorthand key for this is Ctrl-F9. If the program compiles properly, then go ahead and run it by going to the Execute menu and choosing "Run" 7. When you run a program, you'll see that the window immediately disappears. To prevent this, add the following line right before return 0; in main: system("PAUSE");