How to enforce to use UNICODE/wchar on VC 10 compiler

  • Thread starter Thread starter bobsadino
  • Start date Start date
B

bobsadino

Guest
I remember when I pass /DUNICODE /D_UNICODE flags to compiler past year

it throws error if I mixed wide char and ANSI like this


int wmain(){
wcout<<"hello world"
}

now I'm confused the compiler doesnt complains/cares anymore

Please help what caused this problem

I use console CL compiler. the program above build successfully without errors.

the compiler doesnt says anything. its crazy

:(




i think compiler feed up with me

Continue reading...
 
Back
Top