/* 版权所有: http://blog.csdn.net/sunboyiris */ #ifdef _DEBUG      inline void msg(){ cout<<"debug 编译"<<endl; } #else      inline void msg() {cout<<"release 编译 "<<endl;} #endif  int main() {     //debug 版本编译     #ifdef _DEBUG          cout<<"begining execution of main/n"<<endl;; 		msg(); 		system("pause"); 	    return 0;     //release 版本编译     #endif         string word="hello world!";         cout<<word<<endl;        msg();  	   system("pause"); 	return 0;  }