mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
192 B
16 lines
192 B
|
10 years ago
|
class TestClass {
|
||
|
10 years ago
|
public:
|
||
|
10 years ago
|
TestClass();
|
||
|
|
~TestClass() {}
|
||
|
10 years ago
|
void function();
|
||
|
|
};
|
||
|
|
|
||
|
10 years ago
|
TestClass::TestClass() {}
|
||
|
|
|
||
|
|
void TestClass::function() {}
|
||
|
10 years ago
|
|
||
|
|
int main() {
|
||
|
10 years ago
|
TestClass test;
|
||
|
10 years ago
|
test.function();
|
||
|
10 years ago
|
}
|