File - ENEE150 Section 0101 - Home

advertisement
*
Section: 0101
TA: Emily Ruppel
Webpage: enee150section0101.weebly.com
*Accessing the UMD server:
*Open PuTTY from the desktop icon
*Type “linux.glue.umd.edu” into the “Host
Name” bar
*Click “Open”
* Enter your Directory ID and then password when
prompted.
*
* Navigating Glue
* cd .., /, ~
* Ex. cd ../ENEE150/Projects/Project3
* ls, ls –l, ls -lt
* Directory Manipulation:
* mkdir
* Mv
* rmdir
* File Manipulation:
* rm
* cp
*
* Submit command format:
<year> <semester> <college> <course> <section> <assignment> <filename>
* Example:
submit 2014 fall ENEE 150 0101 1 football.c
*Create and submit a text file with your name, section
number, and your pick for this Saturday’s UMD vs. USF
football game. Use 1 for the assignment number.
*
* GCC is the compiler that will be used to grade
all submissions.
* Command: gcc project.c header.c extra.c
* If you are using a different compiler for
testing, be sure to check your program using
the GCC compiler on PuTTY!
*
* Ask the user to input two numbers n and k
(both less than 100), then print out the
numbers from 0 to n with k numbers per row,
in a zigzag format.
* For instance, the output for (20,7) is:
0
1
2
3
4
5
6
13 12 11 10
9
8
7
14 15 16 17 18 19 20
*
Download