problem loading wchar_t a vector
hi
I've got a problem loading "wchar_t" a vector:
why wont the
push-back
argument accept what I've put?
Additional notes:
I've got all the header files for it
vector
1 2 3 4
|
vector<wchar_t> filenames;
filenames.push_back(L"textures/t1.bmp");
filenames.push_back("textures/t2.bmp");
filenames.push_back("textures/t3.bmp");
|
i think it should be vector<wchar_t*>
and every of the strings should have L in start.
thanks that fixed it
Topic archived. No new replies allowed.