Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- test.h
- #ifndef _test_h_
- #define _test_h_
- class test
- {
- public:
- test ();
- void show();
- private:
- };
- #endif
- test.cpp
- #include "test.h"
- #include
- test::test(){}
- void test::show(){
- std::cout
- main.cpp
- #include "test.h"
- int main (int argc, char const* argv[])
- {
- test t();
- t.show();
- return 0;
- }
- main.cpp
- #include "test.h"
- int main (int argc, char const* argv[])
- {
- test t();
- t.show();
- return 0;
- }
Add Comment
Please, Sign In to add comment