#include <iostream>
int main (int argc, char* argv[])
{
int foo = sizeof(int*);
switch (foo)
{
case 2:
std::cout << "Size = 2: 16 bit OS" << std::endl;
break;
case 4:
std::cout << "Size = 4: 32 bit OS" << std::endl;
break;
case 8:
std::cout << "Size = 8: 64 bit OS" << std::endl;
break;
default:
std::cout << "Size = " << foo << std::endl;
}
return(0);
}