Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <windows.h>
- class the_class
- {
- private:
- public:
- the_class()
- {
- printf("Two!\n");
- }
- ~the_class()
- {
- printf("Three.\n");
- }
- };
- the_class object;
- int main(int argc, char** argv)
- {
- printf("One!\n");
- {
- the_class x;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement