#include <stdio.h>
int main()
{
int answer;
printf("Please insert your desired budget :"); //normal printf functions.
printf(" $_____\b\b\b\b"); //This should move the curser back 4 spaces.
//The program outputs the line followed with 4 inverted question marks.
scanf("%d", &answer);
printf("So your budget is %d", answer);
return 0;
}
为什么输出是 4 个倒置问号?我在mac上使用xcode,这可能是问题吗?