c++___1入门
include
include"stdio.h"
void trace(const char* s)
{
printf("%s\n",s);
}
class Trace {
public :
void print(const char* s) { printf("%s\n", s); };
};
int main()
{
trace("hi");
Trace t;
t.print("hi2");
//std::cout << "Hello World!\n";
}