20 lines
477 B
C++
20 lines
477 B
C++
// testLong64.cpp : Defines the entry point for the console application.
|
|
//
|
|
|
|
//#include "stdafx.h"
|
|
|
|
#include <iostream>
|
|
|
|
//#define long __int64
|
|
|
|
int main(int argc, char * argv[])
|
|
{
|
|
std::cout << "short " << sizeof( short ) << std::endl;
|
|
std::cout << "int " << sizeof( int ) << std::endl;
|
|
std::cout << "long " << sizeof( long ) << std::endl;
|
|
std::cout << "long long " << sizeof( long long ) << std::endl;
|
|
std::cout << "void* " << sizeof( void* ) << std::endl;
|
|
return 0;
|
|
}
|
|
|