69,382
社区成员
发帖
与我相关
我的任务
分享
unsigned short i = -1;
unsigned int j = -1;
printf("i = %x\n", i);
printf("j = %x\n", j);
#include "stdafx.h"
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
unsigned short us=-1;
unsigned int un=-1;
cout<<us<<" "<<un<<endl;
system("pause");
return 0;
}