摘要: 函数原型:int scanf(constchar*format,...); 该函数定义在头文件stdio.h里,因此在使用scanf函数时要加上#include 。它是格式输入函数,即按用户指定的格式从键盘上把数据输入到指定的变量之中。 函数 scanf() 是从标准输入流stdio (标准输入... 阅读全文