嘿伙计们,有人能告诉我如何解决这个问题吗? [英] Hey guys, can someone tell me how to fix this problem?
本文介绍了嘿伙计们,有人能告诉我如何解决这个问题吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
#include<stdio.h>
#include<conio.h>
void main()
{
int i = 0;
char ch;
clrscr();
for (i = 0; i < 256; i++)
{
printf("%c ",ch)<-- function call missing (
ch = ch + 1;
}<-- Statement missing ;
getch();
}
我尝试了什么:
好吧,在学校我还没有IT课,所以我真的不知道该怎么做所以我认为你可以帮忙,谢谢
What I have tried:
Well,at school i do not have IT class yet,so i really don't know what to do so i thought you could help,thanks
推荐答案
根据NotPolitcallyCorrect - Professional Profile [ ^ ]和 PIEBALDconsult - 专业档案 [ ^ ]以下应该是解决方案:
According to the comments of NotPolitcallyCorrect - Professional Profile[^] and PIEBALDconsult - Professional Profile[^] the following should be the solution:
#include<stdio.h>
#include<conio.h>
void main()
{
int i = 0;
char ch;
clrscr();
for (i = 0; i < 256; i++)
{
printf("%c ",ch); // The missing semicolon
ch = ch + 1;
}
getch();
}
请记住,我不是给出解决方案的人,上面提到的两个成员就是那些,我最后才把它写下来;)
Keep in mind I was _not_ the one giving the solution, the two members mentioned above are the ones, I only wrote it down finally ;)
这篇关于嘿伙计们,有人能告诉我如何解决这个问题吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文