Dev C++

Instruction set 1

1. Choose which version you want to install from this site: http://www.bloodshed.net/dev/devcpp.html.
I Chose version 5.0 beta 9.2 (4.9.9.2), which can be downloaded directly from here: http://sourceforge.net/project/downloading.php?groupname=dev-cpp&filename=devcpp-4.9.9.2_setup.exe&use_mirror=internap.
I chose this version, because it comes with the gcc complier (version 3.4.2, which is pretty close to the one we use on the CSE servers) already configured. However, you can download Dev-C++ without a complier if you want to manually configure gcc 3.4.6, which is what we run on the CSE servers.

2. Double click on the downloaded file, it will unpack and ask you to chose a language, I chose English.

3.Accept the License Agreement (The GNU General Public License).

4. Do a full installation to make sure the complier and everything else is installed.

5. Choose a path to install in. The default is C:\Dev-cpp.

6. Click install and wait for the install to finish.

7. It will ask if you want to install Dev-C++ for all users on the computer, I said yes.

8. Click Finish and your done with the install!

9. Upon first running, you will be asked to complete a first time configuration wizard.

10. First, choose the theme and language.

11. Next is information retrieval. This feature allows Dev-C++ to retrieve information from header files, so as you type commands, it generates a list possibilites and tries to autocomplete what you are typing, similar to Eclipse.

12. Next the configuration wizard asks if Dev-C++ can cache the default header files for information retrieval. I said yes.

13. After the header files are cached, or not cached if you don't want them to be, the wizard is done and Dev-C++ finishes loading and you are ready to develop.

Notes:
So far, the only problems I've had taking files from Dev-C++ with gcc 3.4.2 to gcc 3.4.6 on the CSE servers is a few warnings about comparing signed and unsigned variables which will not really affect the way the program runs.
Also, I've had a few warning about the system() commands. In Windows, you can use commands like system("PAUSE") and system("cls") that will pause or clear the DOS output screen. In Unix, these commands don't exist, but having them in your code will not cause any runtime errors, they will generate warnings at compile time, but you can get rid of them simply by removing or commenting out the system() commands.

 

Instruction Set 2

1) Download Dev-C++ from Bloodshed (http://www.bloodshed.net/dev/devcpp.html); make sure you get the package with mingw/gcc (so you have a compiler)
2) You'll generally just want to create individual source files; source files can be compiled in the upper-left toolbar
3) You might want to run your programs from the command line, because they'll disappear on termination if you run them from Dev-C++.

This setup also uses the gcc compiler, and I've never run into any compatibility problems with it.

 

Instruction set 3

Dev C++ is a free, open source windows compiler for C++ that uses a Mingw port from GCC (which includes g++) to compile the code. This will let you compile your code very similarly to the CSE labs, though it isn't exactly the same. There are still potential differences that could occur when compiling on the linux machines. Download from http://www.bloodshed.net/dev/devcpp.html the 9 meg Dev C++ 5.0 beta file that says it is with Mingw/GCC 3.4.2. The program will take about 60 megs with a default install, and should be everything you want. Just run the install, and hit "ok", "next", or "I Agree" to everything. It will ask you to agree to the GPL license, install the basic 60 meg install, and where to put it. Once installed, the first time you run it, the IDE will ask you to configure it. Default settings are fine again here so just keep hitting next. Once you're done with that, the program is ready to use with a port of g++ to compile the files. The program was meant to be a simple to use, open source, C++ compiler for Windows, so the default settings are exactly what you want.

a) download XWin32 and Putty from the softwares page of MYUB (i.e. just save and
run the executable link for the mentioned softwares from the site)

b) run the XWin32 by clicking on it. this starts it on the background.

c) click on Putty and connect to the host timberlake.cse.buffalo.edu

d) on timberlake server prompt type your username and password. then type the
program name (emacs &).

e) this takes you to the emacs.