14 lines
122 B
C++
14 lines
122 B
C++
|
|
class test {
|
|
|
|
public:
|
|
test( int val );
|
|
void setval( int val );
|
|
int getval();
|
|
|
|
private:
|
|
int val;
|
|
|
|
};
|
|
|