6.3w+
社区成员
#include <iostream>
using namespace std;
class A{
public:
A(){ cout << "Initialize" << endl;}
~A(){ cout << "Clear up" << endl; }
};
A a;
int main()
{
cout << "Hello, world!" << endl;
}
struct A
{
A(){cout <<"start" <<endl; }
~A(){cout <<"end" <<endl; }
}ga;
void hello(){
cout <<"hello!" <<endl;
}
void main(){
hello();
}