Alternative System for C++ Programs under Windows Vista
Since the new Windows operating system, Vista, is a bit more secure, you
can no longer use Quincy to compile your C++ programs. Fortunately, there
is a fix. Those who have Windows Vista should switch to a program called
"Portable Dev-C++".
First, download the program at
https://sourceforge.net/project/showfiles.php?group_id=190331
To download, click on the blue arrow that is pointing downward.
After the download is finished, unzip it to a directory of your choice,
just make sure you remember where it is unzipped. To run the program, go
to the directory where you unzipped the program, and double click on the
icon that says "PortableDev-Cpp.exe".
Because Vista has new security features, a box will pop up asking if you
would like to allow the program to run. Just click allow, as this is a
trusted program.
The interface is a bit different that Quincy is. To create a new C++
program, go to File->New->Source Program. Then, you can simply type up
your program just like you did in Quincy. To compile and run your program,
go to the Execute menu, then click on 'Compile and Run'. The program will
compile, and any errors will be displayed at the bottom of the screen. If
there are no errors, a black DOS window will pop up, just like in Quincy.
Another thing that is a bit different is the way programs are run. Quincy
would automatically pause at the end of your program and say "Press any
key to return to Quincy". Dev-Cpp does not do this automatically, so you
will have to put this pause in yourself. At the end of every program, just
before the return 0; in main(), type in the following line:
system("pause");
This will cause your program to prompt the user to press enter before
returning to Dev-Cpp.
Take some time and play around with the program and get comfortable with
it.
Thanks to Chris Peterlin, CSCI 240 TA
03/06/07