CSCI 261 - Programming Concepts (C++)Spring 2017 - Lab 01BQuick Links: Blackboard | Canvas | CS @ Mines | Cloud9 | Piazza | zyBooks |
|
| Home | Contact | Syllabus | Assignments | Schedule | Resources | | |
This lab is due by
January 17, 2017 11:59PM.
An Intro To ASCII Art
Part 1 of Assignment 01 requires you
to create your own ASCII Art to print to the screen. For this lab,
you'll get more practice outputting information to the screen by
creating creative pictures. You will need to follow the steps in C-Lab01A to create a new project and main.cpp
file for this lab. This time, under your Week01 folder create a new
folder called Lab01B.
Your first task is to add the appropriate cout statements to print this tree to the screen: * *** ***** ******* *** Once the you are finished with the
tree, add two blank lines and add additional statements to print what
zyBooks calls a cat (I thought it was a rabbit).
/\ /\ o o = = ---
Hint: A backslash \ in a string acts as an escape
character, such as with a newline \n. So, to print an actual
backslash, escape that backslash by prepending another backslash. Ex:
The following prints a single backslash:
cout << "\\";
Lab Submission
You will submit your solution to this lab with your first official
homework assignment (Assignment 01.
Detailed instructions for doing this are posted in Assignment 01.
This lab is due by
January 17, 2017 11:59PM.
Required Canvas Submission Practice
In previous versions of this course, many students have had problems
with submitting a given homework assignment correctly. The student then
loses several points on his/her homework assignment, just because of a
submission problem. This makes us sad.
Thus, we offer you the opportunity to practice submitting a homework assignment. As Aristotle said For the things we have to learn before we can do them, we learn by doing them. (We'll ignore Billie Joe Armstrong's alternative view of practice, i.e., School is practice for the future, and practice makes perfect. But nobody's perfect, so why practice?) In C-Lab01A, you created and executed your first C++ Program. In C-Lab01B, you created your second C++ program. Let's go ahead and submit these programs to Canvas so we all learn how to use Canvas properly. From your Cloud9 workspace, right click on the Week01 folder in your workspace tree. Select "Download" from the pop-up menu. This will download a file called Week01.zip if using Windows (or Week01.tar if using Mac) to your computer. It contains all the files of your Week01 folder (therefore, Lab01A and Lab01B). Now in Canvas, go to Assignments > Week00. Upload your Week01.zip (Week01.tar) file you just downloaded. And voila! Easy peasy. Submit this file by Saturday, January 14 8AM, we will 'grade' it (again, zippo points) and let you know if your submission was NOT correct by Monday morning. In summary, for the zero point homework due on Saturday, January 14 8AM, follow these specific steps:
| |
Last Updated: 01/01/70 00:00
|