PuTTY is a free Win32 telnet/ssh client, which means it is a win32 application that connects using telnet or ssh
(we will be covering these later. For now, just know that they are connection protocols). If your compiler doesnt work, then
u can log on to your stuy account and use the school's built in C++ compiler, known as g++.
Scroll down and download putty.exe. After you have downloaded it, open it. Set host name to homer.cs.stuy.edu
Set the protocol to telnet Now open. It will ask you for your stuy username
and password. Enter them in and now you connected to homer (the name of the stuy server).
If you dont want to download putty, you can use microsoft's built in telnet client, conviently called telnet. Go to start>run.
Type in telnet. Now, there are two telnets (depends on windows systems). If you get a black one, type in open homer.cs.stuy.edu Next, login using your stuy username and password, as with putty. If
you get the white one, go to connect>shell and set the shell to homer.cs.stuy.edu
Login as before.
Using C++ on Putty/Telnet:
You can use putty/telnet the same way you can use dev-cpp. In fact, its even better than dev-cpp. To start a file, type
in emacs filename.cpp For example, suppose you want to name your program CompProgClub1, you type in emacs CompProgClub1.cpp (dont forget the .cpp!) Now, that should start a blank editor (unless
a file by that name already exists). Type in the code in the last page. Save using Control+x+s or pressing F10>f>s.
Exit by pressing F10>f>e. To compile, simply type in g++
CompProgClub1.cpp To run it, type in ./a.out and this should say
Hello World. To resume editing your file, type in emacs CompProgClub1.cpp again.