1 / 7

ENEE 150

ENEE 150. Section: 0102 TA: Emily Ruppel Tentative webpage: ece.umd.edu/~ eruppel. 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. Glue Accounts.

sachi
Download Presentation

ENEE 150

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ENEE 150 Section: 0102 TA: Emily Ruppel Tentative webpage: ece.umd.edu/~eruppel

  2. 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. Glue Accounts

  3. Navigating Glue • cd .., /, ~ • Ex. cd ../ENEE150/Projects/Project3 • ls, ls –l, ls -lt • Directory Manipulation: • mkdir • Mv • rmdir • File Manipulation: • rm • cp Unix Commands

  4. Submit command format: <year> <semester> <college> <course> <section> <assignment> <filename> • Example: submit 2014 Spring ENEE 150 0102 1 superbowl.c • Create and submit a text file with your name, section number, and your pick for the Superbowl. Use 1 for the assignment number. Submit

  5. GCC is the compiler that will be used to grade all submissions. • Command: gccproject.cheader.cextra.c • If you are using a different compiler for testing, be sure to check your program using the GCC compiler on PuTTY! GCC

  6. Questions? • Tip: use “wget” command to download the homework files Homework

  7. 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 Example Problem

More Related