锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
cout 涓鴻緭鍑烘祦錛?lt;< 涓烘彃鍏ユ搷浣滅錛?test."涓烘彃鍏ュ瓧絎︺?br>
int count;
cin >> count;
cin 涓鴻緭鍏ユ祦錛?gt;> 涓烘娊鍙栨搷浣滅錛屼粠cin嫻佷腑鎶藉彇瀛楃濉厖鍙橀噺銆?br>
鐢ㄦ帶鍒剁錛屽I/O鏍煎紡榪涜鎺у埗銆?br>
鍗佸叚榪涘埗杈撳嚭錛?br>

/**//**
鏇挎崲 #include <iostream.h>
*/
#include <iostream>
using namespace std; 
int _tmain(int argc, _TCHAR* argv[])

{
int count;
cin >> count;
cout << hex << count << endl;
char * p = new char[10];
cin >> p;
return 0;
}
鏇挎崲 #include <iostream.h>
*/
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
cout << "test.";
return 0;
}
杈撳嚭test銆?br>
鍑芥暟璋冪敤錛?br>
鏇挎崲 #include <iostream.h>
*/
#include <iostream>
using namespace std;
int max(int x,int y)
{
if(x > y)
return x;
else
return y;
}
int _tmain(int argc, _TCHAR* argv[])
{
int x ,y ;
x = 1000;
y = 100;
cout << max(x,y);
cout << '\n';
char * p = new char[10];
cin >> p;
}
瀹氫箟鍚屼箟璇嶏細
typedef int INT;
typedef double DOU;
/**
鏇挎崲 #include <iostream.h>
*/
#include <iostream>
using namespace std;
int max(int x,int y)
{
if(x > y)
return x;
else
return y;
}
int _tmain(int argc, _TCHAR* argv[])
{
INT x ,y ;
x = 1000;
y = 100;
cout << max(x,y);
cout << '\n';
char * p = new char[10];
cin >> p;
return 0;
}