在Qt Creator 中c++源码有中文字符,结果不能编译成功. 代码 QMessageBox::warning(this, "警告","用户名密码错误",QMessageBox::Yes); 报错如下: -1: warning: C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unico
我们在编译一些跨平台的程序的时候难免会遇到_WIN32 __linux__什么之类的SDK或者编译器环境预定义的宏.有很多,之前还分不清_WIN32 和WIN32的区别.不过这里还好有个列表,做个备忘. Please send updates/corrections to predef-contribute. AIX Type Macro Description Identification _AIX Version _AIX'VR' V = VersionR = Revision Ide
/* ============================================================================ Name : c_test001.c Author : jiftle Version : Copyright : Your copyright notice Description : Hello World in C, Ansi-style ================================================