77问答网
所有问题
c++ 里scanf怎么用
如题所述
举报该问题
推荐答案 2017-06-29
char *str ; scanf("%s",str); int a; scanf("%d",&a);第一个参数填格式化的占位符,第二个填一个指针!就是变量的地址
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://77.wendadaohang.com/zd/GWIGIvqqv3vvpNYqqvv.html
相似回答
大家正在搜
相关问题
c++ scanf 怎么用
C++ scanf如何正确使用
求问c++中string类怎么用scanf读取
printf和scanf可以用在C++里面吗?
C++用scanf读入字符串
c++ scanf输入问题
c++中有printf和scanf吗?还有补充里的问题