★初心者にVisual C++を教えるスレ★ Part32
■ このスレッドは過去ログ倉庫に格納されています
0408デフォルトの名無しさん
2008/12/17(水) 21:01:49Win32コンソールアプリケーション
ビルドの失敗
ソース↓
// 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";
■ このスレッドは過去ログ倉庫に格納されています