0% found this document useful (0 votes)
44 views

Advanced OO Programming: Session Title

This document provides an overview of an advanced object-oriented programming session. It includes slide titles and code fragments from a C++ program using a Number class with methods to set and get a number value. The program initializes a Number object, sets its value to 42, and outputs the set number to the console.

Uploaded by

Stuart Kerrigan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views

Advanced OO Programming: Session Title

This document provides an overview of an advanced object-oriented programming session. It includes slide titles and code fragments from a C++ program using a Number class with methods to set and get a number value. The program initializes a Number object, sets its value to 42, and outputs the set number to the console.

Uploaded by

Stuart Kerrigan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Advanced OO Programming

Session Title

Slide title
Bullet points
Etc
etc

Code fragments
//main.cpp
#include <iostream>
#include "Number.h
using namespace std;
int main()
{
Number myNum = Number();
myNum.setNum(42);
cout << "Number set was: " <<
myNum.getNum();
return 0;
}

You might also like