#define _CRT_SECURE_NO_WARNINGS //解决scanf报错问题#include<stdio.h>int main(){int a;scanf("%d",&a);//一定要在变量前加入&符号printf("a=%d\n",a);return 0;}