Announcements for the course Programming in C/C++ 2009 Date Text -------------------------------------------------------------------------- 11 febr On kits server you only have the make utility. It works the same way as gmake. So you can do 2 things: add in your .bashrc the following line: alias gmake='/usr/X11R6/bin/make' or use make. 9 febr De GNU C++ compiler on kits is in /usr/bin and not in /usr/local/bin like we wrote in the practical guide. Old Op 32 bits machines het in decimaal printen van een pointer waarde gaat met casting naar (unsigned int)(&val). Op de 64-bit machines, is een (unsigned long long) nodig. -------------------------------------------------------------------------- Having problems with the g++ compiler? Be sure that you use /usr/local/bin/g++ and not /usr/local/public/bin/g++. With "which g++" you can see which g++ you use. Still have problems? Ask the helpdesk or your assistant ----------------------------------------------------------------------------- Your program compiles and produces an *.exe file but you cannot run it? You get the message "command not found"? Check your path. Try first at the command line PATH = $PATH:. to include your homedirectory in the path. If this helps, add this to your PATH in bashrc. Another idea: use ./ without changing anything in your PATH. ------------------------------------------------------------------------------- Compiling your files from home? Er zijn een aantal programma's waarmee het mogelijk is om thuis te werken en de code op de VU te testen. voor windows gebruikers: benodigdheden: - internetverbinding - PuTTY (gratis) - een willekeurige FTP client. Download PuTTY (google op putty --> eerste hit) maak een connectie met 1 van de VU-servers (keg.cs.vu.nl of kits.cs.vu.nl) via SSH log in met jouw VU FEW account de ftp client (bijv LeechFTP (gratis)) is nodig om de file die je thuis heb staan over te sturen naar de VU. open een connectie naar 1 van de VU-servers (keg.cs.vu.nl of kits.cs.vu.nl) gebruik hierbij jouw VU FEW account. Het is nu een kwestie van de juiste file slepen van de ene locatie naar de andere locatie. in putty "browse" je dan naar de locatie van de cpp file. Vanaf die locatie kan je jouw programma compilen en testen. ---------------------------------------------------------------------------------