Introduction To C++
Introduction To C++
Introduction To C++
Make a folder in your home directory and copy in the tutorial files:
mkdir cpp_tutorial && cd !$
unzip /scratch/Intro_to_Cpp_Sprint2018_v0.4_Code.zip
Getting started with your own laptop
Go to:
http://www.bu.edu/tech/support/research/training-consulting/live-tutorials/
and download the Powerpoint or PDF copy of the unified presentation.
Easy way to get there: Google “bu rcs tutorials” and it’s the 1st or 2nd link.
Linux: likely available from your Linux distro’s package management system
Mac OSX: get the CodeBlocks-13.12-mac.zip file and unzip it to a convenient folder.
Also you will need Apple’s Xcode software with the command line tools installed.
See: http://www.dummies.com/programming/cpp/how-to-install-c-codeblocks-in-macintosh/
Tutorial Outline: All 4 Parts
Part 1: Part 3:
Intro to C++ Defining C++ classes
Object oriented concepts Look at the details of how they
Write a first program work
Part 2: Part 4:
Using C++ objects Class inheritance
Standard Template Library Virtual methods
Basic debugging Available C++ tools on the
SCC
Tutorial Outline: Part 1
Very brief history of C++
Definition object-oriented programming
When C++ is a good choice
The Code::Blocks IDE
Object-oriented concepts
First program!
Some C++ syntax
Function calls
Create a C++ class
Very brief history of C++
Sim
ula 6
7
spectrum = ch4.IR(1000,3500)
Name = co2.common_name