
……咦?四根柱子撐起倒四角錐?這不是東京ビッグサイト的外型嗎~(= =)~

立刻 google 確認一下,像歸像,還是有點不同
相較於東京ビッグサイト四根柱子各自撐起一個倒四角錐,中國館是四根柱子共同撐起一個倒四角錐
不過看到中國館的瞬間直覺就讓人想到東京ビッグサイト,這相似度也夠大了








bool isLittleEndian(){
const WORD endian = 0x1234;
return *((BYTE*)&endian) == 0x34;
}
C:\Documents and Settings\<User Name>\Recent
#include <windows.h>
#include <shlobj.h>
#pragma comment ( lib, "shell32.lib" )
int _tmain( int argc, _TCHAR* argv[] ){
TCHAR path[MAX_PATH+1];
WIN32_FIND_DATA findData;
HANDLE hFind;
if( SHGetSpecialFolderPath( NULL, path, CSIDL_RECENT, FALSE ) ){
_tprintf_s( _T("%s\n"), path );
_tcscat_s( path, _T("\\*.*") );
hFind = FindFirstFile( path, &findData );
path[_tcslen( path )-3] = 0;
do{
_tprintf_s( _T("%s%s\n"), path, findData.cFileName );
} while ( FindNextFile( hFind, &findData ) );
if( hFind != INVALID_HANDLE_VALUE ){
FindClose( hFind );
}
}
system( "pause" );
return 0;
}
#include <windows.h>
#include <shlobj.h>
#pragma comment ( lib, "shell32.lib" )
int _tmain( int argc, _TCHAR* argv[] ){
FILE* pFile = NULL;
_tfopen_s( &pFile, _T("RecentList.txt"), _T("wb") );
if( !pFile ){
_tprintf_s( _T("Cannot open file" ) );
system( "pause" );
return 0;
}
WORD BOM = 0xFEFF;
fwrite( &BOM, sizeof( WORD ), 1, pFile );
TCHAR path[MAX_PATH+1];
WIN32_FIND_DATA findData;
HANDLE hFind;
if( SHGetSpecialFolderPath( NULL, path, CSIDL_RECENT, FALSE ) ){
_ftprintf_s( pFile, _T("%s\n"), path );
_tcscat_s( path, _T("\\*.*") );
hFind = FindFirstFile( path, &findData );
path[_tcslen( path )-3] = 0;
do{
_ftprintf_s( pFile, _T("%s%s\n"), path, findData.cFileName );
} while ( FindNextFile( hFind, &findData ) );
if( hFind != INVALID_HANDLE_VALUE ){
FindClose( hFind );
}
}
fclose( pFile );
return 0;
}
~yvals.h(513) : error C2143: syntax error : missing ';' before 'namespace'這樣莫名其妙的錯誤訊息
error C2061: syntax error : identifier 'DWORD'等不可能會出現的錯誤