Leetcode practice
0.0
Public Member Functions
|
List of all members
Num Class Reference
#include <
Num.h
>
Public Member Functions
Num
(int n, int m)
void
getNum
()
Constructor & Destructor Documentation
◆
Num()
Num::Num
(
int
n
,
int
m
)
8
: num1(n), num2(m) {}
Member Function Documentation
◆
getNum()
void Num::getNum
(
)
11
{
12
cout <<
"The first number is:"
<< num1 << endl;
13
cout <<
"The second number is:"
<< num2 << endl;
14
}
Referenced by
main()
.
The documentation for this class was generated from the following files:
practice/
Num.h
practice/
Num.cpp
Generated by
1.8.15