//#include "stdafxh"//vc++60加上这一行
#include "stdioh"
#include "stringh"
void main(void){
char s1[400]="",s2[400]="",mch;
int i,j,k,sub;
printf("Type a string\ns1=");
gets(s1);
printf("Type another\ns2=");
gets(s2);
for(mch=i=0;s1[i];i++)
if(mch<s1[i]){
sub=i;
mch=s1[i];
}
strcats2,s1+sub+1);
s1[sub+1]='\0';
strcat(s1,s2);
printf("The result is %s\n",s1);//Look at it
}
sequals(s1),s必须非null,否则会空指针异常;
s1可以为null,在确保s1不为空时,可以用s1equals(s)来判断;
无法确定s或s1不为null时,解决办法:
s != null && sequals(s1)
1、确认输入的WiFi密码是否正确;
2、离WiFi路由器近一点,再连接尝试;
3、更换或重启路由器再连接;
4、清除WLAN数据和缓存,再重新连接WiFi试试;
①Funtouch OS 92/iQOO (Monster) UI及以上:进入设置--应用与权限--应用管理--更多--显示系统进程--WLAN--存储,选择清除数据和缓存;
②Funtouch OS 92以下:进入手机设置--更多设置--应用管理--(右上角“更多”选择“显示系统进程”)--找到WLAN--点击存储,选择清除数据和缓存(部分机型进入设置--更多设置--应用程序--全部--找到WLAN);
5、若其他手机能正常连接同一个WiFi,还原所有设置/清除所有数据试试( *** 作前需备份手机中重要的数据);
①Funtouch OS 92/iQOO (Monster) UI及以上:进入设置--系统管理--备份与重置--还原所有设置/清除所有数据;
②Funtouch OS 92以下:进入设置--更多设置--备份与重置/恢复出厂设置--还原所有设置/清除所有数据
一、教学目标
1.知识与技能目标:掌握关于颜色的词汇和句子。培养学生听、说、 读、写的技能。
2.过程与方法目标:结合学生特点,创设活动游戏的机会,把学习融合到游戏中去。让学生参与、探究、实践。
3.情感态度与价值观目标;培养学生对生活的热爱,对颜色的敏感及对美的追求。
二、教学重难点
1、教学重点:用“what colour"句型来询问颜色
教学句型 What colour is it It’s……
2、教学难点:
教学表示颜色的'八个单词red, yellow, green, blue, black,white,orange and brown。通过对话使学生熟练地描述物体的颜色。
三、教学方法
我采用情景教学,启发与点拨,讨论与探究,合作与学习相结合的教学方法。并采用和音像协助教学。以观察、思考、实践为手段,充分利用多媒体创设情景加大课堂容量,时刻给学生提供课堂资源。
四、教学模式
教学模式采用的是“主体性教学模式”。把发挥学生的主动性作为课堂教学的着力点,把激活学生思维模式作为课堂教学的出发点和归宿。发挥主体性教学模式的特征,以学生为主线,以学生为本,因学施教,使学生成为学习的主人。
五、教学过程
1 warming up
(Teachers and students exchanged greetingsin English help
students go into English circumstances quickly)
2 leading-in
t: ok, now can you help me what is this in English What colour is it today we will learn new words and new sentences about colour let learn the new lesson
3 new knowledge
(give students the beautiful pictures, and then give the meanings)
t: now look at these pictures look at the first picture what is this who know, you please
s1: it is a dog
t: yes ,you are right we can use “what colour is it” to ask the color 它是什么颜色的? Black, now read after me “black,black” it’s black
t: good look at the second picture next boy, what is this
s2: it’s a flower
t: yes and what colour is it
s2: it is red
t: great, now read after me “red”,i t is red it’s a red flower
(then go on to learn the new words “黑色black,**yellow,棕色brown,绿色green,蓝色blue,白色white,橙色orange,红色red)
t: is it black
t: you can say yes, it is or no, it isn’t
t: look at the picture is it a green tree who knows how to answer this
s3: yes, it is let read it together
(show another picture)
t: look at the picture, there are five books in the picture are they blue now think about how to answer this sentence if you know, you can put up your hands han xue pleases
s4: no, they aren’t, they are yellow
t: what are they next girl, please
s5: they are yellow books
t: good now use the words and sentences we learned today to make up the dialogue in your group, and then come to the blackboard act the dialogue with your partner
t:I will give you five minutes you can make up dialogue in your group then I will ask some groups come to the blackboard and act the dialogues (给表现好的小组以奖励)
Show time!
4 development拓展
What colour is it复数形式what colour are they
5 sum up today we learned some new words about colour, and how to ask and answer some questions about colour practicing colour is today’s homework understand
class is over
以上就是关于C语言:从键盘输入两个字符串s1与s2,并在s1串中的最大字符后边插s2全部的内容,包括:C语言:从键盘输入两个字符串s1与s2,并在s1串中的最大字符后边插s2、java判断字符串相等 用s.equals(s1)。但是可能有空值的情况,用equals就报异常了 怎么办呢、我的vivos1连得了wifi,但用不了网络,别人都用得了,就我不行,为什么等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)