You may do this from home before lab.
Log on to Odin.
Change to your 2010 folder.
$ cd 2010
Run the start script
$ lab-start.sh
Change to your 2 folder.
$ cd 2
Write a program that asks the user to enter height and width.
Name your program lab2-prep.cpp
$ vi lab2-prep.cpp
Get user input like this...
$ cin >> height >> width;
The program output will be area.
Test your program.
$ g++ lab2-prep.cpp -Wall
$ ./a.out
Additional steps
----------------
Create a text file that contains 2 numbers.
$ vi myinput
Look at your file...
$ cat myinput
You should see two numbers something like this...
25 35
Now you can run your program like this...
$ ./a.out < myinput
User input will be brought into your program from the file.
Try to get this working.