pair Class Reference

class pair
Public Member Functions
pair()
pair(int, int)
~pair()
intgetNum1()
intgetNum2()
Private Attributes
intanum1
intanum2

Constructor & Destructor Documentation

pair()

pair()

pair(int, int)

pair(intnum1,
intnum2
)

Parameters

int num1
int num2

~pair()

~pair()

Member Functions Documentation

getNum1()

intgetNum1()

getNum2()

intgetNum2()

Member Data Documentation

int anum1

intanum1[private]

int anum2

intanum2[private]