- Количество слайдов: 13
More on Using onyx 8/28/13
Program 1 • Due a week from today. • See website for details.
Objectives • Review using vim • Learn more Linux commands
Steps to Run a C++ program • • • Login into onyx Edit the program using vi or vim Compile the program with g++ Execute the program with a. out Logout of onyx
Login from Windows at Remote Site • mobaxterm or other ssh • See links off 117 webpage.
Login from Mac at Remote Site • Download mobaxterm to use on your computer.
Logout • exit • In the lab: Right-click and select logout – Select “Logout” button in dialogue box – Don't shutdown the computer • Important
vi Commands • • • a, i – get into insert mode
To Print a Program lpr -Pet 214 prog. cpp
More linux • Command Format: command -options argument(s) • Commands to know: – ls, cp , rm, mv, – mkdir, mv(to a directory), cd. . , rmdir – man, more, cat – passwd – exit
Questions • How do you save a program in vim? • How to you make a copy of your program?
Lab Access If you want to use the lab make sure your Bronco ID has a proxy code. Gold bar near picture, not brown. If you don't have one, an get an ID with proxy for no charge at the SUB. Not set up yet.
Participation Today Edit and execute a feet to inches program that I will write on the board.