- 408 名前:デフォルトの名無しさん [2008/12/17(水) 21:01:49 ]
- Microsoft Visual C++ 2008 Version 9.0.21022.8 RTM
Win32コンソールアプリケーション ビルドの失敗 ソース↓ // test_1.cpp #include "stdafx.h" #include "test_2.cpp" class test_A{ static const int INT_A; static const char *TEXT_A; }; const int test_A::INT_A=1234; const char *test_A::TEXT_A="abcd"; int _tmain(int argc, _TCHAR* argv[]){ return 0; } // test_2.cpp #include "stdafx.h" class test_B{ static const int INT_B; static const char *TEXT_B; }; const int test_B::INT_B=1234; const char *test_B::TEXT_B="abcd";
|

|