slides and examples
course website http://web.cs.ucla.edu/classes/spring18/cs31/
use linux servers:
- windows:
- download putty: http://www.putty.org
- set hostname=cs31.seas.ucla.edu and then press "open"
- mac: ssh [email protected]
upload your project to linux servers:
- windows and mac:
- download filezilla client: https://filezilla-project.org/download.php
- set host=cs31.seas.ucla.edu, port=22, use your username and password then press "QuickConnect"
linux commands:
- pwd : display the full path of your current directory
- cd DIRECTORY : go to DIRECTORY
- cd .. : go back to previous directory
- ls : list all the files in current directory
- rm FILE : delete FILE
- g31 -o EXECUTABLE_FILE_NAME CPP_FILE.cpp : compile your project
online c++ compilers:
- https://repl.it/languages
- https://www.remoteinterview.io/codepad
- http://coliru.stacked-crooked.com/
- https://gcc.godbolt.org/
c/c++ reference:
linux command cheat sheet
vim cheat sheet
applications for windows users
- putty (SSH client): http://www.putty.org
- winscp (SFTP client): https://winscp.net/eng/download.php
- or filezilla (SFTP client): https://filezilla-project.org/download.php
applications for mac users
- terminal (for SSH): http://accc.uic.edu/answer/how-do-i-use-ssh-and-sftp-mac-os-x
- filezilla (SFTP client): https://filezilla-project.org/download.php