ssh -Y you@your_machine.cs.swarthmore.eduOnce remotely connected to cs, you can start other xterms on our system by: xterm &
Then create a week03 subdirectory in your weeklylab subdirectory and copy over some files (the ls and pwd commands just let you see where you are in the directory structure):
cd cs31/weeklylab pwd mkdir week03 ls cd week03 pwd cp ~newhall/public/cs31/week03/* . ls
vim teststrs.c
My C language references, has links to documentation on "Pointers in C", "Strings in C", and "Chars in C", that describe strings, dynamic memory allocation, and pointers in more detail. Some of this content, like pass by reference, we will cover next week.
Here is some information on reading man pages.
We are going to examine a C program that examines where different kinds of data are in a process' memory.
Open up memparts.c in vim:
vim memparts.c