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:
- Set up a programming environment for the semester.
- Logged into cslab103.cs.edinboro.edu
- Entered, compiled, debugged and run a program.
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.
- Start a word document.
- Please use the word format, not pdf or any other document format.
- Microsoft office is available for all students
- You can use office on line.
- You can use an open source document editor which saves in word format.
- Place your name and identifying information in this document.
- You will answer questions and place screen shots in this document for the next section.
- Please make sure you label each step clearly before your response for each section.
- Select at least one of the following options.
- 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.
- 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.
- Windows other.
- Give visual code studio a try.
- I don't know completely what vsc supplies, you still might need putty and and winscp.
- 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.
- 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.
- macOS
- I am not a mac user, but I would try the Linux, easy steps.
- Some other option, please document how you plan to edit, compile and execute code on cslab103.
- For each option YOU selected:
- Add a note in your document describing your choice.
- Type in the following program, replacing my name with yours.
- Compile this program on cslab103 with the following command
- Once all of the errors are removed, run the program on cslab103
Some Resources
- Some Local guides for using the system.
- Please use my notes
- Please use your notes from class.
Required Files
A word document as described above.
Submission
Submit your word document to the Homework 2 D2L folder by the due date.