Cloud 9 C++ Instructions for COSC175
Create your workspace (only do this once at the beginning of the semester):
STEP #1. From Internet Explorer (or any other internet browser)
Type https://c9.io/signup/ in the URL bar and press the Enter key
STEP #2. Enter your Towson email (ex. [email protected]) and click Sign Up.
On the next screens you’ll be asked for your name and username.
In the username field, enter your Towson net id (ex. jsmith1)
When asked what kind of developer you are, choose Student.
When asked how you will use Cloud 9, choose Coursework.
After creating an account, you will be emailed a link to set your password.
Using the link from the email, set a secure password you can remember
STEP #3. Go to your Cloud 9 dashboard at the URL c9.io/username (ex. c9.io/jsmith1)
Bookmark your dashboard for easy future reference.
Click the big gray Create a new workspace button
STEP #4. In the Workspace name field, type cosc-175
Enter a brief Description such as Projects for COSC175
Under Hosted workspace, choose Private
Under Choose a template, select the C++ button:
Click the green Create workspace button.
Creating a new C++ project (do this for each lab or homework):
STEP #1. From your web browser, go to your Cloud 9 dashboard bookmarked from STEP #3 above.
STEP #2. Click the SIGN IN button in the top-right
Enter your username and password from STEP #2 above and Sign In.
STEP #3. Open your cosc-175 workspace
STEP #4. (Do this step for better organization of your workspace)
In the far-left workspace panel, right-click on your cosc-175 folder
Select the New Folder button on the bottom of the pop-up menu
Name your new folder based on the assignment you are working on (ex. Lab1 or Loops-HW)
NOTE: Do not include spaces in folder or file names.
Running programs is much smoother if there are no spaces.
STEP #5. In the workspace panel, right-click on your new assignment folder
Select the New File button towards the bottom of the pop-up menu
Name your new file based on the assignment you are working on, ending in .cpp
(Ex. Lab1.cpp or Loops-HW.cpp)
This is required so that Cloud 9 knows you are creating a C++ source file
NOTE: Do not include spaces in folder or file names.
Running programs is much smoother if there are no spaces.
STEP #6. EDIT: Double-click on the assignment file to open it, and type in your program.
STEP #7. COMPILE/RUN: Click the Run button in the tool bar at the top of the screen
Cloud9 attempts to compile your code into an executable binary file
Any compilation errors are reported in the console window at the bottom of the screen
If compilation is successful, Cloud9 runs your program in the console window
STEP #8. Correct any errors in the code and repeat STEP #7 until your program works as intended
STEP #9. Copy your program output from the console window into a text file on your computer
Right-click on your assignment .cpp file and Download to your computer
TURN IN: 1. Program (.cpp) 2. Output (.txt) 3. Answers to questions (.doc/.docx)