#include<iostream>
int main()
{
using namespace std;
int chest = 42;
int waist = 0x425;
int inseam = 042;
cout << "Monsieur cuts a striking figure!\n";
cout << "chest = " << chest << "\n";
cout << "waist = " << waist << "\n";
cout << "inseam = " << inseam << "\n";
return 0;
}
0x开头的数是将其后的数字以十六进制保存,0开头数是将其后的数字以八进制形式保存