CMSC 362: Introduction to C++
Overview
Complete the tutorial lessons on C++ and investigate the questions below.
Lessons
Complete the following lessons on C++ for Java Programmers:
- Introduction to C++
- I/O and Parameter passing (skip Purify); and
- Introduction to C++ Classes.
NOTE: The examples assume that a “using directive”,
namely using namespace std;, was written before function
“main”.
Questions
Prepare to discuss FIVE (5) NON-TRIVIAL differences between C++ and Java (e.g., avoid simplistic differences similar to “C++ requires a semicolon in this context, while Java does not”).
Conduct some research and find THREE (3) programs that you use most every day that are written in C++. How do these programs likely benefit from being written in C++?
What to Submit
Nothing needs to be submitted, but be prepared to discuss what you’ve learned.