Homework 2, Setting Up Your Environment.

Short Description:

Establish a basic working environment for the semester.

This assignment is worth 10 points.

Goals

When you finish this homework, you should have:

Formal Description

The purpose of this assignment is to get your environment set up for class. I would like you to create a program and use cslab103 to compile and execute that program.

We will discuss different environments in class, your job is to select one or two and make it work for you. This may be easy or it may be difficult. Please seek advice and assistance if you run into problems.

You will document your success in accomplishing this task by taking screen shots of the work in progress and pasting this in a word document.

  1. Start a word document.
  2. Select at least one of the following options.
    1. Windows, easy
      • Install a text editor, I would suggest notepad++
      • Install a file transfer program, I would suggest WinSCP
      • Install a terminal emulator, I would suggest PuTTY.
    2. Windows, more challenging
      • Install an IDE such as Code::Blocks
        • You will still need to compile your code on cslab103 before submission.
      • Install a file transfer program, I would suggest WinSCP
      • Install a terminal emulator, I would suggest PuTTY.
    3. Windows other.
      • Give visual code studio a try.
      • I don't know completely what vsc supplies, you still might need putty and and winscp.
    4. Linux, easy
      • This assumes you have a linux setup at home.
      • Install a text editor, I would suggest kate.
      • Alternatively or additionally install an IDE like Code::Blocks
      • Install a terminal editor, I use xterm, but any will do.
      • Learn to use sftp, ssh to log into cslab103.
    5. Linux, more challenging
      • DO NOT WIPE OUT YOUR WINDOWS INSTALL for linux unless you are really committed to this.
      • Install linux on a computer or virtual machine.
      • Do all the steps above.
      • DO NOT WIPE OUT YOUR WINDOWS INSTALL for linux unless you are really committed to this.
    6. macOS
      • I am not a mac user, but I would try the Linux, easy steps.
    7. Some other option, please document how you plan to edit, compile and execute code on cslab103.
  3. For each option YOU selected:
  4. Type in the following program, replacing my name with yours.
  5. Compile this program on cslab103 with the following command
  6. Once all of the errors are removed, run the program on cslab103

Some Resources

Required Files

A word document as described above.

Submission

Submit your word document to the Homework 2 D2L folder by the due date.