Go to the Properties for your Project and under Configuration Properties/General, change the Character Set to “Not Set”. This way, the compiler will not assume that you want Unicode characters, which are selected by default:
More Related Contents:
- How does the Import Library work? Details?
- strptime() equivalent on Windows?
- How can I clear console
- Export all symbols when creating a DLL
- The program can’t start because libgcc_s_dw2-1.dll is missing
- How do I calculate the week number given a date?
- boost_1_60_0 .zip installation in windows
- How to read a value from the Windows registry
- LPCSTR, LPCTSTR and LPTSTR
- How to properly replace global new & delete operators
- Porting clock_gettime to windows
- How do I open an .exe from another C++ .exe?
- Win32 programming hiding console window
- Prevent user process from being killed with “End Process” from Process Explorer
- Parsing strings of user input using the cparse library from git
- How to get screenshot of a window as bitmap object in C++?
- Microsecond resolution timestamps on Windows
- Read process memory of a process does not return everything
- Do child threads exit when the parent thread terminates
- How to read the screen pixels?
- Hide the console of a C program in the Windows OS
- Heap corruption under Win32; how to locate?
- changing the directory from inside a c program under windows using system command
- LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup
- Get base address of process
- EnumDisplayDevices vs WMI Win32_DesktopMonitor, how to detect active monitors?
- Passing reference to STL vector over dll boundary
- Getting another process command line in Windows
- Visual Studio 2013: CL.exe exited with code -1073741515
- How can I cin and cout some unicode text?