#include <iostream>
using namespace std;
class base
{
static base* mybase;
};
base::mybase = NULL;
char* str = "hello world";
int main()
{
std::cout<<"hello world"<<std::endl;
return 0;
}
왜 코드 행 "base :: mybase = NULL"컴파일러 오류!정적 멤버 변수 지정
를 사용하려면, 당신은 점점 전체 오류 메시지를 게시하시기 바랍니다. –