用的是VS2013,请问下怎么改?
#include<stdio.h>#define SPACE ''
int main(void)
{
char ch;
ch = getchar();
while (ch != '\n')
{
if (ch == SPACE)
putchar(ch);
else
putchar(ch + 1);
ch = getchar();
}
putchar(ch);
return 0;
}
1>c:\users\strike 0.0\documents\visual studio 2013\projects\consoleapplication24\consoleapplication24\源.cpp(9): error C2137: 空字符常量
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ======