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:

NOTE: The examples assume that a “using directive”, namely using namespace std;, was written before function “main”.

Questions

  1. 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”).

  2. 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.