1
내가 다음 코드를 컴파일하려고
stringtest.cpp:5: error: expected initializer before ‘<’ token
stringtest.cpp:6: error: ‘foostring’ does not name a type
제 컴파일러는 다음과 같습니다 : 나는 다음과 같은 오류 얻을
#include <string.h>
using namespace std;
typedef std::basic_string<char> foostring;
foostring foo = "foo";
g ++ (우분투 4.4.1-4ubuntu9를) 4.4.1
무엇이 잘못 되었나요? 내가 그것을 사용하는 방법을 알아낼 유니 코드 지원을 위해 Windows TCHAR와 함께 이것을 사용하고자합니다.
고맙습니다. – alius