Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef TEST_H
- #define TEST_H
- class test
- {
- public:
- test();
- int m_a1;
- int m_a2;
- int m_a3;
- int m_a4;
- };
- #endif // TEST_H
- #include "test.h"
- test::test(): m_a1(10), m_a2(20), m_a3(30), m_a4(40)
- {}
- #include <iostream>
- using namespace std;
- int main()
- {
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement