如何在程序中使用getint [英] how to use getint in a program
本文介绍了如何在程序中使用getint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,我在使用getint时遇到了一些问题。我必须使用任何特定的标题吗?如果有人可以提供帮助,将不胜感激。
Hello everyone I'm having some problems using getint. Are there any specific headers that I have to use? If anyone could help it would be appreciated thanks.
推荐答案
没有标准C函数getint - 您可能想要使用scanf(%d,&placeToPutTheValue )而不是。
There is no standard C function "getint" - you probably want to use scanf("%d", &placeToPutTheValue) instead.
这篇关于如何在程序中使用getint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文