摘要: 下面是CSDN里对scanf的使用的例子。// crt_scanf.c/* This program uses the scanf and wscanf functions * to read formatted input. */#include <stdio.h>int main( void ){ int i, result; float fp; char c, s[81]; wchar_t wc, ws[81]; result = scanf( "%d %f %c %C %80s %80S", &i, &fp, &c, &w 阅读全文