<< Chapter < Page Chapter >> Page >
  • Cpp_Software_Download
  • Cpp_Source_Code_Files

Within the Cpp_Source_Code_Files folder, create a sub-folder named:

  • Compiler_Test

To help you keep files organized, you will want to create other sub-folders for storing source code files. We suggest you create at least two other sub-folder to be used with Connexions' related modules. Within the Cpp_Source_Code_Files, create sub-folders named:

  • Demo_Programs
  • Monitor_Header
folder
A named area for storage of documents or other files on a disk drive or flash drive.
source code
Any collection of statements or declarations written in some human-readable computer programming language.

Getting the software

The full version of the software is named: Dev-C++ 5.0 beta 9.2 (4.9.9.2) (9.0 MB) with Mingw/GCC 3.4.2 You can either download it from Bloodshed or download the version as of 12/8/2008 that is stored on the Connexions web site. Store it in the Cpp_Software_Download folder you created. The software is approximately 9.1 MB and will take several minutes to download if you are using a dial-up modem connection.

The software has not significantly changed since 2007 and the Connexions version will be sufficient for most users. The Bloodshed link requires some additional navigation to get to the software download. Thus, because it is significantly easier, we recommend that you download the software from the Connections web site.

Link to Bloodshed: (External Link)

Download from Connexions: devcpp-4.9.9.2_setup.exe

Getting a c++ source code file

Listed below is a C++ source code file titled: Compiler_Test.cpp It has been prepared for Connexions web delivery. Download and store it in the Compiler_Test sub-folder you created. You may need to right click on the link and select "Save Target As" in order to download the file.

Download from Connexions: Compiler_Test.cpp

Installation instructions for bloodshed dev-c++ 5 compiler/ide

The Version 5 which is well tested (don’t let the beta release scare you) and should work on a variety of machines and various Microsoft Operating systems including Windows 98, Windows 2000, Windows XP and Windows Vista. Below are installation instructions for installing it on a machine or installing it on a flash drive. We don’t suggest trying to switch between the machine drive and flash drive. If it is installed on the machine drive and you try installing it on a flash drive, it creates problems and will not work perperly. Either install it on the flash drive to gain your portability or install it on your machine.

 computer installation instructions

  1. Navigate to the Cpp_Software_Download folder and run the devcpp-4.9.9.2_setup.exe software by double cliking on the filename.
  2. Use common sense and answer the installation prompts. NOTE THE FOLLOWING TWO ITEMS:
  3. When it gets to the "Choose Install Location" use the default software location of: C:\Dev-Cpp\ (or select the location you want to store the installed program but use the default unless you are familiar with installing software).
  4. When it asks: "Do you want to install Dev C++ for all users on this computer?" answer "Yes".
  5. After it installs, it will ask some "first time configuration" questions. Again, use common sense and answer the questions. NOTE THE FOLLOWING ITEM:
  6. Answer "No" to the retrieve information from header files.
  7. It will start your compiler/IDE with a "Tip of the day". We suggest you check the box in the lower left and select "Close".
  8. Close your compiler/IDE by using the normal red "X" box. We want to show you how to start your compiller normally.
  9. You start your compiler software similar to starting any software loaded on your machine ("Start" then "All Programs" then "Bloodshed Dev-C++" then "Dev-C++").
  10. On the menus at the top – Select "File" then "Open project or file" then navigate to where your source code file (Compiler_Test.cpp) is stored on your hard drive. See the suggested folder name above. Select the source code file and open it.
  11. You should see the source code listing. Press F9 key or select the "Execute" then "Compile&Run" from the menus at the top. A black screen box should appear and you answer questions appropriately to run the program. When you are done running your program the black screen box goes away.

Flash drive installation instructions

  1. Navigate to the Cpp_Software_Download folder and run the devcpp-4.9.9.2_setup.exe software by double cliking on the filename.
  2. Use common sense and answer the installation prompts. NOTE THE FOLLOWING TWO ITEMS:
  3. When it gets to the "Choose Install Location" you can see that the default software location of: C:\Dev-Cpp\ however, it needs to be changed. Change the "Destination Directory" by selecting changing the default software location from: C:\Dev-Cpp\ to DriveLetter:\Dev-Cpp\ (where the DriveLetter is the drive that represents your flash drive).
  4. When it asks: "Do you want to install Dev C++ for all users on this computer?" answer "No".
  5. After it installs, it will ask some "first time configuration" questions. Again, use common sense and answer the questions. NOTE THE FOLLOWING ITEM:
  6. Answer "No" to the retrieve information from header files.
  7. It will start your compiler/IDE with a "Tip of the day". We suggest you check the box in the lower left and select "Close".
  8. Close your compiler/IDE by using the normal red "X" box. We want to show you how to start your compiller normally.
  9. To start your compiler software you navigate to the "Dev-Cpp" folder on your flash drive and select the "devcpp.exe" application. NOTE: When using the flash drive you should not try starting the compiler by double clicking on a C++ source code file. This method works on a machine installation but does not work on a flash drive installation.
  10. On the menus at the top – Select "File" then "Open project or file" then navigate to where your source code file (Compiler_Test.cpp) is stored on your flash drive. See the suggested folder name above. Select the source code file and open it.
  11. You should see the source code listing. Press F9 key or select the "Execute" then "Compile&Run" from the menus at the top. A black screen box should appear and you answer questions appropriately to run the program. When you are done running your program the black screen box goes away.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Programming fundamentals - a modular structured approach using c++. OpenStax CNX. Jan 10, 2013 Download for free at http://cnx.org/content/col10621/1.22
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Programming fundamentals - a modular structured approach using c++' conversation and receive update notifications?

Ask