#include <iostream>
struct Foo
{
Foo() { printf("before main()/n"); }
~Foo() { printf("after main()/n"); }
};
Foo smallFoo;
int main(int argc, char* argv[])
{
std::cout << "Hello, world !/n";
return 0;
}
#include <iostream>
struct Foo
{
Foo() { printf("before main()/n"); }
~Foo() { printf("after main()/n"); }
};
Foo smallFoo;
int main(int argc, char* argv[])
{
std::cout << "Hello, world !/n";
return 0;
}