#include <iostream>
using namespace std;
#define max(x,y) (x>y?x:y)
#define msg(x) #x
#ifndef PI
#define PI 3.1425
#endif
int main()
{
cout<<PI;
cout<<max(10,12)<<endl;
cout<<msg(hello)<<endl;
}
class Parent { public Parent() { System.out.println("Parent Constrcutor"); } } class Child extend...
No comments:
Post a Comment