Added sizeof(short int)

This commit is contained in:
Robert Osfield 2006-08-23 13:18:22 +00:00
parent ce8d8c09e1
commit d1b14abb91

View File

@ -121,6 +121,7 @@ void sizeOfTest()
std::cout<<"sizeof(bool)=="<<sizeof(bool)<<std::endl; std::cout<<"sizeof(bool)=="<<sizeof(bool)<<std::endl;
std::cout<<"sizeof(char)=="<<sizeof(char)<<std::endl; std::cout<<"sizeof(char)=="<<sizeof(char)<<std::endl;
std::cout<<"sizeof(short)=="<<sizeof(short)<<std::endl; std::cout<<"sizeof(short)=="<<sizeof(short)<<std::endl;
std::cout<<"sizeof(short int)=="<<sizeof(short int)<<std::endl;
std::cout<<"sizeof(int)=="<<sizeof(int)<<std::endl; std::cout<<"sizeof(int)=="<<sizeof(int)<<std::endl;
std::cout<<"sizeof(long)=="<<sizeof(long)<<std::endl; std::cout<<"sizeof(long)=="<<sizeof(long)<<std::endl;
std::cout<<"sizeof(long int)=="<<sizeof(long int)<<std::endl; std::cout<<"sizeof(long int)=="<<sizeof(long int)<<std::endl;