何らかの理由で、私のprintfとscanfが明らかに宣言されていません。私はそれが私が非常によく理解していない私の機能と関係があると思う。単純なカウントプログラムの問題
#include<stdlib.h>
#include<stdlib.h>
#include<ctype.h>
void testCount();
int eleven = 11;
int input = 0;
int output = 0;
int count = 0;
int main(){
printf("What number would you like to count to?");
scanf("%d", &count);
testCount();
system("pause");
return 0;
}
void testCount (int x){
int y;
for(y=1;y<count;y++){
if (x < 10){
x + 1;
}
}
output = input/eleven;
}
を; '、また、あなたが' count'を渡すことを忘れ'testCount();' –
これまでにない最も奇妙なプログラム! – AhmadWabbi