请填空【 】,这个题目不知道是什么意思
#include<stdio.h>#include<string.h>voidmain(){inta,i;chars[20];printf("Inputa:\n");sc...
#include<stdio.h>
#include <string.h>
void main()
{ int a,i;
char s[20];
printf("Input a:\n");
scanf("%d",&a);
cDectoHex(s,a);
for(i=strlen(s)-1;i>=0;i--)
printf("%c",*(s+i));
printf("\n");
}
cDectoHex(char *p,int b)
{ int j;
while (b>0)
{ j=b%16;
if (j<10) [ ];
else *p=j+55;
[ ];
p++;
}
*p='\0';
}
cDectoHex(char *p,int b)
这个函数是不是转换十六进制啊
结果出来了,谢谢了,不需要答案了 展开
#include <string.h>
void main()
{ int a,i;
char s[20];
printf("Input a:\n");
scanf("%d",&a);
cDectoHex(s,a);
for(i=strlen(s)-1;i>=0;i--)
printf("%c",*(s+i));
printf("\n");
}
cDectoHex(char *p,int b)
{ int j;
while (b>0)
{ j=b%16;
if (j<10) [ ];
else *p=j+55;
[ ];
p++;
}
*p='\0';
}
cDectoHex(char *p,int b)
这个函数是不是转换十六进制啊
结果出来了,谢谢了,不需要答案了 展开
2个回答
展开全部
完型填空
1:通读文章,了解大意,不管文章中的空格。
2:阅读文章内要添的所有词汇,了解大意。
3:观察空格内所要填的词汇,比较其不同之处。
4: 将词汇代入文章,逐一排除,直到找到最佳答案为止。
阅读理解
1:通读要回答的问题,了解大意并记住所要回答的问题(尽可能多地记住)。
2:通读全文,带有目的性的阅读(就是寻找你要回答问题的答案,刚才记住几个你就基本可以找到几个)。
3:如果是要找中心思想或者让你给文章写个标题之类的,可以采用“比例法”(就是看每一段在文中占的主导地位有多少,用算比例的方法“计算”答案)。还有一种方法就是看文章的第一段(从某种角度来看,这和语文的阅读差不多)。
单项选择和改错
1:看你要填的词的词性,从而排除部分词。
2:看是不是固定结构(固定结构一定要背熟的)。
3:还应该找出句子的谓语部分,看清句子的结构,从而判断应该填什么词
最后一点,我建议你去买一本书《精讲精练》(初中英语阅读理解与完型填空)封面是白色的,《精讲精练》四个字是深蓝的,策划:刘根林 主编:陈旭东
东南大学出版社
里面有教你如何做完型填空和阅读理解,各种类型的非常全面,我用用非常不错,我是省锡中的,我们班很多同学都用的。
祝你有所收获!!!
1:通读文章,了解大意,不管文章中的空格。
2:阅读文章内要添的所有词汇,了解大意。
3:观察空格内所要填的词汇,比较其不同之处。
4: 将词汇代入文章,逐一排除,直到找到最佳答案为止。
阅读理解
1:通读要回答的问题,了解大意并记住所要回答的问题(尽可能多地记住)。
2:通读全文,带有目的性的阅读(就是寻找你要回答问题的答案,刚才记住几个你就基本可以找到几个)。
3:如果是要找中心思想或者让你给文章写个标题之类的,可以采用“比例法”(就是看每一段在文中占的主导地位有多少,用算比例的方法“计算”答案)。还有一种方法就是看文章的第一段(从某种角度来看,这和语文的阅读差不多)。
单项选择和改错
1:看你要填的词的词性,从而排除部分词。
2:看是不是固定结构(固定结构一定要背熟的)。
3:还应该找出句子的谓语部分,看清句子的结构,从而判断应该填什么词
最后一点,我建议你去买一本书《精讲精练》(初中英语阅读理解与完型填空)封面是白色的,《精讲精练》四个字是深蓝的,策划:刘根林 主编:陈旭东
东南大学出版社
里面有教你如何做完型填空和阅读理解,各种类型的非常全面,我用用非常不错,我是省锡中的,我们班很多同学都用的。
祝你有所收获!!!
展开全部
1.Travelling
I like travelling very much.
Travelling can enlarge my horizon and give me knowledge. Travelling is another kind of learning. I can see and hear a lot of things that I cannot see or hear when I am at home, and travelling gives me more new experience which is useful to me.
Travelling makes me more healthy and strong. We cannot sit in front of the desk or computer all day long. It does no good to our health.
Travelling gives me the best chance to get close to the great nature and gives me a healthy body.
2.invention
In my opinion, the greatest invention of the world is electricity.
Eletricity changes the whole world. Without electricity, we lose half of the world. We cannot do anything when night falls and we remain in the darkness.
It is hard to imagine what the world look like without electricity. No light,no radiao, no computer, no communication. Everyting we have now is on the base of electricity.
Therefore, I think electricity is the greatest invention of the world.
I like travelling very much.
Travelling can enlarge my horizon and give me knowledge. Travelling is another kind of learning. I can see and hear a lot of things that I cannot see or hear when I am at home, and travelling gives me more new experience which is useful to me.
Travelling makes me more healthy and strong. We cannot sit in front of the desk or computer all day long. It does no good to our health.
Travelling gives me the best chance to get close to the great nature and gives me a healthy body.
2.invention
In my opinion, the greatest invention of the world is electricity.
Eletricity changes the whole world. Without electricity, we lose half of the world. We cannot do anything when night falls and we remain in the darkness.
It is hard to imagine what the world look like without electricity. No light,no radiao, no computer, no communication. Everyting we have now is on the base of electricity.
Therefore, I think electricity is the greatest invention of the world.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询