A detail of the ENIAC controls.

[Syllabus]

[Calendar] [Compilers] [Assignments]
[Uploads] [Exams] [References]

 

Physics 5—Scientific  Computing

Compiler/IDE Options:

To write and test computer programs you need to combine a variety of different software in what is called an "Integrated Development Environment" (an I.D.E.).  This can vary from using a common text editor such as Edit on a UNIX platform or Notepad on a Windows operating system to create .txt files which you can compile and link with other software such as cygwin.exe or gcc.exe...to a more comprehensive all-in-one sort of package which is specifically designed to combine all these tasks under one umbrella.

IDE's you might want to use include:

The IDE that comes on the disk that is bundled with the text, Starting Out With C++, by Gaddis is the Borland C++ Builder 6.  Detailed instructions for how to set this up are in Appendix L on the supplementary disc.  .

Various resources are available at http://www.deitel.com/books/downloads.html#cppHTP4.  To get a nice overview of what's in the book, you might look at the tour of the book.

There are also instructions (you'll need the free acrobat reader to read these .pdf files) for

  • how to set up the UNIX emulating cygwin environment on a Windows operating system (Dive Into GNU C++ with CygWin on Windows)

  • how to author and compile simple console applications in the relatively complex environment of MS Visual C++ environment (Dive Into Microsoft Visual C++ .NET)

  • how to set up and use the Borland 5.5 free C++ compiler with an editor

A favorite IDE is DevCpp with is available for free download at http://www.bloodshed.net/devcpp.html. Go to the two links at the bottom of the page and follow either the Download from Sourceforge.net link or the Download from Simtel.net link.

While not as robust as the Visual C++ IDE's, DevCpp is attractive for several features:

  • it's small

  • it's free

  • it doesn't have a lot of features we'll never use in this class

  • the editor is robust and flexible

  • it's really easy to set up on most Windows platforms

Finally, a note of caution: many of these IDE's may want to be the default editor. It's possible to have several compilers and editors together on the same computer, but only one can be the "default."


Disclaimer: All these web pages are subject to change at any time.