Assignment 0

Assignment 0 - 1 Compile and run the Hello world program...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Page | 1 Assignment 0 CSC1254/1, Fall 2011 A SSIGNMENT 0, CSC1254/1, F ALL 2011 Introduction to Programming with C++ II, Hartmut Kaiser Due: Thursday, September 1, 2011 Submitted electronically: before 12:00 PM Accepted late: before September 2 nd , 12:00PM: -15% before September 3 rd , 12:00PM: -30% Please submit each of the tasks below as a separate file, named task1.cpp , task2.cpp , etc. Create all of these files inside a new sub-directory called prog0 . All files will have to be submitted in one step by invoking the submission command as described in the document ‘Submitting homework (Assignment 0, Appendix)’ available from the homepage.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1. Compile and run the Hello, world! program ( task1.cpp ) 2. Write a program that, when run, writes to the console This (") is a quote, and this (\) is a backslash. ( task2.cpp ). 3. Write a program that, when run, writes the Hello, world! program as its output ( task3.cpp ). 4. Rewrite the Hello, world! program so that a newline occurs everywhere that whitespace is allowed in the program ( task4.cpp ). All of the programs have to be compilable and, when run, should do the expected things. Each task is worth 25% of the overall grade for this homework....
View Full Document

This note was uploaded on 12/29/2011 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.

Ask a homework question - tutors are online