小甲鱼dlephi笔记个人总结版
Hopfield联想记忆网络
% ------------------------standard number array-----------------------zero=[-1 -1 -1 -1 -1 -1 -1 -1 -1 -1; -1 -1 -1 1 1 1 1 -1 -1 -1;...-1 -1 1 1 1 1 1 1 -1 -1; -1 1 1 1 -1 -1 1 1 1 -1;...-1 1 1 1 -1 -1 1 1 1 -1;-1 1 1 1 -1 -1 1 1 1 -1;...-1 1 1 1 -1 -1 1 1 1 -1;-1 1 1 1 -1 -1 1 1 1 -1 ;...-1 1 1 1 -1 -1 1 1 1 -1;-1 -1 1 1 1 1 1 1 -1 -1];one=[-1 -1 -1 -1 1 1 -1 -1 -1 -1;-1 -1 -1 -1 1 1 -1 -1 -1 -1;...-1 -1 -1 -1 1 1 -1 -1 -1 -1; -1 -1 -1 -1 1 1 -1 -1 -1 -1;...-1 -1 -1 -1 1 1 -1 -1 -1 -1; -1 -1 -1 -1 1 1 -1 -1 -1 -1;...-1 -1 -1 -1 1 1 -1 -1 -1 -1; -1 -1 -1 -1 1 1 -1 -1 -1 -1;...-1 -1 -1 -1 1 1 -1 -1 -1 -1; -1 -1 -1 -1 1 1 -1 -1 -1 -1];two=[-1 1 1 1 1 1 1 1 1 -1;-1 1 1 1 1 1 1 1 1 -1;...-1 -1 -1 -1 -1 -1 -1 1 1 -1;-1 -1 -1 -1 -1 -1 -1 1 1 -1;...-1 1 1 1 1 1 1 1 1 -1;-1 1 1 1 1 1 1 1 1 -1;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1;...-1 1 1 1 1 1 1 1 1 -1;-1 1 1 1 1 1 1 1 1 -1;...-1 -1 -1 -1 -1 -1 -1 -1 -1 -1;-1 -1 -1 -1 -1 -1 -1 -1 -1 -1];three=[-1 -1 1 1 1 1 1 1 -1 -1;-1 -1 1 1 1 1 1 1 1 -1;...-1 -1 -1 -1 -1 -1 -1 1 1 -1;-1 -1 -1 -1 -1 -1 -1 1 1 -1;...-1 -1 -1 -1 -1 -1 -1 1 1 -1; -1 -1 -1 -1 1 1 1 1 -1 -1;...-1 -1 -1 -1 1 1 1 1 -1 -1;-1 -1 -1 -1 -1 -1 -1 1 1 -1;...-1 -1 -1 -1 -1 -1 -1 1 1 -1;-1 -1 -1 -1 -1 -1 -1 1 1 -1;...-1 -1 1 1 1 1 1 1 1 -1;-1 -1 1 1 1 1 1 1 -1 -1];four=[ -1 1 1 -1 -1 -1 -1 1 1 -1;-1 1 1 -1 -1 -1 -1 1 1 -1;...-1 1 1 -1 -1 -1 -1 1 1 -1;-1 1 1 -1 -1 -1 -1 1 1 -1;...-1 1 1 -1 -1 -1 -1 1 1 -1;-1 1 1 1 1 1 1 1 1 -1;...-1 1 1 1 1 1 1 1 1 -1;-1 -1 -1 -1 -1 -1 -1 1 1 -1;...-1 -1 -1 -1 -1 -1 -1 1 1 -1;-1 -1 -1 -1 -1 -1 -1 1 1 -1;...-1 -1 -1 -1 -1 -1 -1 1 1 -1;-1 -1 -1 -1 -1 -1 -1 1 1 -1];six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1];point=[ -1 -1 -1 -1 -1 -1 -1 -1 -1 -1; -1 1 1 1 1 1 -1 -1 -1 -1;...-1 1 1 1 1 1 -1 -1 -1 -1; -1 1 1 1 1 1 -1 -1 -1 -1;...-1 1 1 1 1 1 -1 -1 -1 -1; -1 1 1 1 1 1 -1 -1 -1 -1;...-1 1 1 1 1 1 -1 -1 -1 -1; -1 -1 -1 -1 -1 -1 -1 -1 -1 -1;...-1 -1 -1 -1 -1 -1 -1 -1 -1 -1; -1 -1 -1 -1 -1 -1 -1 -1 -1 -1;...-1 -1 -1 -1 -1 -1 -1 -1 -1 -1; -1 -1 -1 -1 -1 -1 -1 -1 -1 -1];nine=[ -1 -1 -1 1 1 1 1 1 1 -1; -1 -1 -1 1 1 1 1 1 1 -1;...-1 -1 -1 1 1 -1 -1 1 1 -1; -1 -1 -1 1 1 -1 -1 1 1 -1;...-1 -1 -1 1 1 -1 -1 1 1 -1; -1 -1 -1 1 1 1 1 1 1 -1;...-1 -1 -1 1 1 1 1 1 1 -1; -1 -1 -1 -1 -1 -1 -1 1 1 -1;...-1 -1 -1 -1 -1 -1 -1 1 1 -1; -1 -1 -1 -1 -1 -1 -1 1 1 -1;...-1 -1 -1 1 1 1 1 1 1 -1; -1 -1 -1 1 1 1 1 1 1 -1];% ----------------------plot standard number figure-----------------ZERO=imresize(zero,20);subplot(3,3,1)imshow(ZERO)title('stand number')ONE=imresize(one,20);subplot(3,3,2)imshow(ONE)title('stand number')TWO=imresize(two,20);subplot(3,3,3)imshow(TWO)title('stand number')THREE=imresize(three,20);subplot(3,3,4)imshow(THREE)title('stand number')FOUR=imresize(four,20);subplot(3,3,5)imshow(FOUR)title('stand number')SIX=imresize(six,20);subplot(3,3,6)imshow(SIX)title('stand number')POINT=imresize(point,20);subplot(3,3,7)imshow(POINT)title('stand number')NINE=imresize(nine,20);subplot(3,3,8)imshow(NINE)title('stand number')% ----------------------create hopfield net--------------------------T=[zero;one;two;three;four;six;point;nine]';net=newhop(T);5%干扰的程序:% ------------------------standard number array-----------------------six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1];% ----------------------plot standard number figure-----------------SIX=imresize(six,20);subplot(2,1,1)imshow(SIX)title('stand number')% ----------------------create hopfield net--------------------------T=[six]';net=newhop(T);% ------------------------------generate noise----------------------------% -------------------------noise array(fixed noise)--------------% six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...% -1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...% -1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;... % -1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;... % -1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...% -1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1];% -----------------------noise array(rand noise)-----------------rand('state',0);for i=1:100a=rand;if a<0.05six(i)=-six(i);endendno1=six;% -------------------------plot noisy figure---------------subplot(2,1,2)NO1=imresize(no1,20);imshow(NO1)title('noisy number')10%干扰的程序:% ------------------------standard number array-----------------------six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1]; % ----------------------plot standard number figure-----------------SIX=imresize(six,20);subplot(2,1,1)imshow(SIX)title('stand number')% ----------------------create hopfield net--------------------------T=[six]';net=newhop(T);% ------------------------------generate noise----------------------------% -------------------------noise array(fixed noise)--------------% six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;... % -1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...% -1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...% -1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...% -1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...% -1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1];% -----------------------noise array(rand noise)-----------------rand('state',0);for i=1:100a=rand;if a<0.1six(i)=-six(i);endendno1=six;% -------------------------plot noisy figure---------------subplot(2,1,2)NO1=imresize(no1,20);imshow(NO1)title('noisy number')20%干扰的程序:% ------------------------standard number array-----------------------six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1];% ----------------------plot standard number figure-----------------SIX=imresize(six,20);subplot(2,1,1)imshow(SIX)title('stand number')% ----------------------create hopfield net--------------------------T=[six]';net=newhop(T);% ------------------------------generate noise----------------------------% -------------------------noise array(fixed noise)--------------% six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;... % -1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...% -1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...% -1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...% -1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...% -1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1];% -----------------------noise array(rand noise)-----------------rand('state',0);for i=1:100a=rand;if a<0.2six(i)=-six(i);endendno1=six;% -------------------------plot noisy figure---------------subplot(2,1,2)NO1=imresize(no1,20);imshow(NO1)title('noisy number')30%干扰的程序:% ------------------------standard number array-----------------------six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...-1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1];% ----------------------plot standard number figure-----------------SIX=imresize(six,20);subplot(2,1,1)imshow(SIX)title('stand number')% ----------------------create hopfield net--------------------------T=[six]';net=newhop(T);% ------------------------------generate noise----------------------------% -------------------------noise array(fixed noise)--------------% six=[-1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;...% -1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 -1 -1 -1 -1 -1 -1 -1 ;...% -1 1 1 -1 -1 -1 -1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1 ;... % -1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...% -1 1 1 -1 -1 1 1 -1 -1 -1;-1 1 1 -1 -1 1 1 -1 -1 -1;...% -1 1 1 1 1 1 1 -1 -1 -1;-1 1 1 1 1 1 1 -1 -1 -1];% -----------------------noise array(rand noise)-----------------rand('state',0);for i=1:100a=rand;if a<0.3six(i)=-six(i);endendno1=six;% -------------------------plot noisy figure---------------subplot(2,1,2)NO1=imresize(no1,20);imshow(NO1)title('noisy number')。
小甲鱼《零基础入门学习Python》课堂笔记
[键入公司名称]人生苦短,我用Python [键入文档副标题]徐辉[选取日期]目录01讲:我和Python的第一次亲密接触 (12)02讲:用Python设计第一个游戏 (15)03讲:小插曲之变量和字符串 (17)04讲:改进我们的小游戏 (19)05讲:闲聊之Python的数据类型 (21)06讲:Pyhon之常用操作符 (22)07讲:了不起的分支和循环1 (23)08讲:了不起的分支和循环2 (25)09讲:了不起的分支和循环3 (27)10讲:列表,一个打了激素的数组1 (29)11讲:列表,一个打了激素的数组2 (31)12讲:列表,一个打了激素的数组3 (33)13讲:元组,戴上了枷锁的列表 (36)14讲:字符串:各种奇葩的内置方法 (38)15讲:字符串的格式语句与操作符 (43)16讲:序列相关内置函数介绍 (46)1-16讲:阶段总结 (51)17讲:函数:Python的乐高积木 (52)18讲:函数:灵活即强大 (53)18讲2:py文件打包成exe文件 (55)19讲:函数:我的地盘我做主 (56)20讲:函数:内嵌函数和闭包 (58)21讲:函数:lambda表达式 (60)22讲:函数:递归是神马 (61)23讲:递归:这帮小兔崽子 (62)24讲:递归:汉诺塔 (63)17-24讲:阶段性总结 (64)25讲:字典:当索引值不好用时 (65)26讲:字典:当索引值不好用时2 (66)27讲:集合:在我的世界里,你就是唯一 (69)28讲:文件:因为懂你,所以永恒 (70)29讲:文件:一个任务 (72)30讲:文件系统:介绍一个高大上的东西 (75)31讲:永久存储:腌制一缸美味的泡菜 (79)31讲:异常处理:你不可能总是对的 (80)33讲:异常处理:你不可能总是对的2 (82)34讲:丰富的else语句和简洁的with (85)35讲:图形界面用户入门:EasyGui (87)36讲:类和对象:给大家介绍对象 (87)37讲:类和对象:面向对象编程 (89)38讲:类和对象:继承 (90)39讲:类和对象:拾遗 (91)40讲:类和对象:一些相关的BIF (94)41讲:类和对象:构造和析构 (96)42讲:类和对象:算术运算符 (98)43讲:类和对象:算术运算符2 (100)44讲:魔法方法:简单定制 (101)45讲:魔法方法:属性访问 (103)46讲:魔法方法:描述符 (105)47讲:魔法方法:定制容器 (108)48讲:魔法方法:迭代器 (109)序----小甲鱼四件在我步入职业软件开发生涯那天起就该知道的事情我的软件开发生涯开始于大约15年以前。
汐月集小篇目读后感
汐月集小篇目读后感**English Version:**"Reflections on the Short Pieces of Xi Yue Ji"After immersing myself in the succinct narratives of Xi Yue Ji, I find myself deeply moved by the profoundness hidden within these brief anecdotes.Each piece is like a gem, shining with its unique brilliance, reflecting the complexities of human emotions and the intricacies of life.The economy of words in these short stories is particularly striking.With every sentence, the author conveys a world of meaning, capturing the essence of a moment or a feeling with remarkable precision.It"s a testament to the power of language, how a few well-chosen words can evoke such vivid imagery and intense emotions.The themes explored in these pieces range from the pain of loss and the elusiveness of time to the beauty of everyday moments and the depth of human connection.Each narrative is a window into the human experience, reminding us of our shared vulnerabilities and dreams.Xi Yue Ji"s short pieces are not just stories but philosophical musings that encourage reflection.They remind us to cherish the present, to feel deeply, and to appreciate the subtle wonders of life.As I turn the last page, I am left with a sense of enlightenment and a yearning for more.**中文版本:**《汐月集》小篇读后感在沉浸于《汐月集》的简练叙事中,我为这些短小篇章中所蕴含的深刻含义所打动。
小小鱼的桂花发夹总结
秋天到了,一 阵一阵凉爽的 秋风吹过,老 桂花树随着秋 风轻轻摇摆, 落下了一阵香 香的桂花雨。 你们猜,桂花 飘到了哪里?
你们 猜, 小小 鱼会 把落 在头 上 的桂 花当 做什 么?
原来 一朵 桂花 不歪 不斜 的正 好落 在小 小鱼 的脑 袋上。
太阳下山了,小小鱼 要回家了,它想桂花 发夹和它一起回 家.但是桂花不愿意, 于是它对桂花发夹 说:"桂花发夹再见, 明天我们再见吧!"
小鱼儿们高兴的 说:“谢谢桂花 树爷爷!”
戴着桂花发夹的小 鱼儿们回家了。远 远望去,就象一片 金色的朝霞,在小 河里漂浮,美极了!
• 1:小小鱼把桂花当做了什么? • 2:我们给这个故事取一个 • 名字吧! • 让我们再来听一遍吧! /yinyue/62446 45/
小鱼儿们高兴的 说:“谢谢桂花 树爷爷!”
戴着桂花发夹的小 鱼儿们回家了。远 远望去,就象一片 金色的朝霞,在小 河里漂浮,美极了!
• • • • • • •
Байду номын сангаас
小小鱼失去了桂花发夹,她心里会怎样想? 小小鱼的伙伴们对小小鱼说了什么? 他们一起去了哪里? 老桂花树是怎样接待小小鱼和它是我伙伴们的? 对它们怎么说的? 图片中哪个地方最美? 你觉得故事里你最喜欢哪句话?为什么?
秋天到了,一 阵一阵凉爽的 秋风吹过,老 桂花树随着秋 风轻轻摇摆, 落下了一阵香 香的桂花雨。 你们猜,桂花 飘到了哪里?
原来 一朵 桂花 不歪 不斜 的正 好落 在小 小鱼 的脑 袋上。
太阳下山了,小小鱼 要回家了,它想桂花 发夹和它一起回 家.但是桂花不愿意, 于是它对桂花发夹 说:"桂花发夹再见, 明天我们再见吧!"
①
②
读后感与读书笔记五篇范文
读后感与读书笔记五篇范文读后感与读书笔记一我读了《小飞袋貂回家记》这本书中的小飞袋来到了宝丽加姆峡谷。
在澳大利亚的宝丽加姆峡谷,一只小飞袋貂本来是在城市里和爸爸妈妈住在一户人家的屋顶上,那家男主人抓住了小飞袋貂,塞到起车后的备厢里,拉到城外,它想回家了。
一只袋熊看见小飞袋貂了,小飞袋貂把一切经过都告诉了袋熊,袋熊和他到鸭嘴兽的家,叫他聚集其他动物们来帮小飞袋貂找回家的路。
下午,小伙伴们沿着山路,越爬越高,爬到了山顶的一道瀑布的源头,再顺着瀑布,到了谷底,再沿着小河往前,就到了能治病的大树前,在走到城边,明天晚点就到了。
小飞袋貂看见家了,他和小伙伴们互相拥抱,说再见了。
动物们回到峡谷后和其他动物们分享他们经历的事,不一会,小飞袋貂和他的爸爸妈妈以后住在峡谷里。
小飞袋貂用自己和大家的努力,回到了爸爸妈妈的身边和峡谷的朋友一起开心地住在一起。
我也要像小飞袋貂和动物们团结一心、齐心协力地做事。
读后感与读书笔记二人说:读书足以移情,足以博彩,足以长才。
使人开茅塞,除鄙见,得新知,养性灵。
因为书中有着广阔的世界,书中有着永世不朽的精神。
虽然沧海桑田,物换星移,但书籍永远是新的。
这句话说得一点也不假,书籍是人类智慧的结晶,书是人类进步的阶梯。
读书,就是一次与大师的对话,与智者的交流,是一次难得的精神之旅,同时也会让人收获非浅。
范梅南先生说,机智是“智慧的化身”。
因此,教师要做到“机智”地处理教学中的偶发事件,必须具备诸多素质和条件。
我以为,以下几方面是不可或缺的:首先,要有一颗热爱学生的心,涵养师爱,以情促教。
育人之道,爱心为先。
台湾教育家高震东说:“爱自己的孩子是人,爱别人的孩子是神。
”教育本身就意味着:一棵树摇动另一棵树,一朵云推动另一朵云,一个灵魂唤醒另一个灵魂。
如果教育未能触及人的灵魂,为能唤起人的灵魂深处的变革,它就不成其为教育。
要实现真正意义的教育,爱几乎是惟一的力量。
正如苏霍姆林斯基所说的:“在什么条件下知识才能触动学生个人的精神世界,才能成为一个人所珍视的智力财富和道德财富呢?只有在这样的财富下——用形象的话来说,就是在知识的活的身体里要有情感的血液在畅流。
英文版夏洛的网前四章读后感简短
英文版夏洛的网前四章读后感简短In the enchanting tapestry of literature, E.B. White's beloved masterpiece, "Charlotte's Web," weaves a timeless tale of friendship, sacrifice, and the enduring power of hope. The novel's opening chapters deftly introduce us to the endearing characters and their idyllic farm setting, setting the stage for a poignant and unforgettable journey.Chapter One: The humbleness of a humble pig.At the heart of the story is Wilbur, a curious and compassionate pig, who faces an uncertain fate on the Zuckerman farm. In this chapter, we witness his initial encounter with Fern Arable, a young girl who recognizes Wilbur's gentle spirit and saves him from becoming a Christmas dinner delicacy. This act of kindness sows the seeds of an extraordinary friendship, forming the foundation of the novel's central theme of companionship and the transcendent power of love.Chapter Two: The wonder of discovering friendship.As Wilbur settles into his new home in the barn, he encounters a cast of peculiar but endearing characters. Charlotte, a wise and resourceful spider, becomes Wilbur's closest confidant. Templeton, a greedy and self-serving rat, provides a comedic foil to Charlotte's wisdom. The dynamic relationships between these animals create a microcosm of society, showcasing the complexities of friendship, loyalty, and the occasional flaws that make us all the more human.Chapter Three: The wisdom of the web.Faced with the cruel reality of his impending fate, Wilbur despairs. Yet, Charlotte, with her unwaveringloyalty and ingenious mind, devises a daring plan to save her friend. She spins eloquent and persuasive words intoher web, proclaiming Wilbur's exceptional nature, transforming him from an ordinary pig into an extraordinary being worthy of admiration. This act of selflessness demonstrates the extraordinary lengths one will go toprotect those they hold dear.Chapter Four: The power of belief.As Charlotte's web attracts attention, the Zuckerman family and the wider community begin to notice the extraordinary pig. Wilbur's reputation grows, and he becomes a beacon of hope for the animals on the farm and beyond. The power of belief, fueled by Charlotte's unwavering support, instills within Wilbur a sense of self-worth and resilience. This chapter highlights the transformative power of faith and the profound impact it can have on our lives.In these opening chapters, White masterfully establishes the characters and themes that will resonate throughout the novel. Through Wilbur's innocence,Charlotte's wisdom, and the quirky cast of animals, White weaves a tapestry of friendship, love, and sacrifice. As the story unfolds, we embark on a journey that explores the complexities of life, the enduring power of hope, and the profound impact that even the smallest of creatures can have on the world around them.。
鲫鱼的遇险的读后感十个字
鲫鱼的遇险的读后感十个字英文回答,After reading "The Perilous Journey of the Crucian Carp", I was deeply moved by the resilience and courage of the crucian carp in the face of danger. The story vividly portrays the struggles and challenges that the fish had to overcome in order to survive. It also highlights the importance of perseverance and determination in the face of adversity. The beautiful illustrations and descriptive language used in the book made the journey of the crucian carp come to life, and I found myself rooting for the fish throughout its perilous adventure. Overall, the book left me with a sense of admiration for the strength and tenacity of the crucian carp.中文回答,阅读完《鲫鱼的遇险之旅》之后,我对鲫鱼在面对危险时所表现出的坚韧和勇气深感动。
故事生动地描绘了鲫鱼为了生存而必须克服的种种困难和挑战。
它也突显了在逆境中坚持不懈和决心的重要性。
书中美丽的插图和生动的语言使鲫鱼的旅程栩栩如生,我在整个危险的冒险中都为这条鱼加油打气。
the fiddler课文读后感
the fiddler课文读后感英文回答:The Fiddler on the Roof is a musical set in thefictional village of Anatevka in Tsarist Russia in 1905. It tells the story of Tevye, a poor Jewish milkman, and his family. Tevye is a deeply religious man who is strugglingto maintain his faith and traditions in a rapidly changing world. His five daughters are all reaching marriageable age, and each one has her own ideas about love and marriage. Tevye must balance his own beliefs with the desires of his daughters and the expectations of his community.The musical is full of humor, heart, and wisdom. It explores themes of family, tradition, and faith. The characters are rich and complex, and they are brought tolife by a talented cast of actors. The music is beautiful and memorable, and it helps to tell the story in a powerful way.Overall, The Fiddler on the Roof is a timeless classic that has something to offer everyone. It is a story thatwill stay with you long after you have seen it.中文回答:《屋顶上的小提琴手》是一部音乐剧,背景设定在1905年沙皇俄国的虚构村庄安纳特夫卡。
红领巾学习海盗蝶变读后感小学
红领巾学习海盗蝶变读后感小学英文版Red Scarf Learning Pirate Butterfly Transformation Reading Reflection in Elementary SchoolAs a young student in elementary school, I was always excited to read new books and learn about different stories and characters. One book that left a lasting impression on me was "Red Scarf Learning Pirate Butterfly Transformation". This book tells the story of a group of young students who embark on a journey of self-discovery and transformation as they learn about the power of teamwork, friendship, and perseverance.The main character, Lily, is a shy and timid girl who is often overlooked by her classmates. However, when she is chosen to lead a team of students in a school project, she discovers her inner strength and courage. With the help of her friends, Lily learns to overcome her fears and insecurities, and to believe in herself.Throughout the book, the students face many challenges and obstacles, but they never give up. They work together to solve problems, support each other, and celebrate their successes. Through their journey, they learn valuable lessons about the importance of teamwork, communication, and resilience.One of the most powerful moments in the book is when Lily and her team are faced with a difficult task that seems impossible to overcome. Instead of giving up, they come up with a creative solution and work together to achieve their goal. This moment teaches readers that with determination and perseverance, anything is possible.Overall, "Red Scarf Learning Pirate Butterfly Transformation" is a heartwarming and inspiring story that teaches valuable lessons about friendship, teamwork, and self-belief. It reminds readers that no matter how difficult the journey may be, with the support of friends and the courage to believe in oneself, anything is possible.英文内容的完整中文翻译在小学时期,作为一名年轻的学生,我总是兴奋地阅读新书,了解不同的故事和人物。
小倒霉星球之白雪豆腐读后感
小倒霉星球之白雪豆腐读后感英文回答:The Little Misfortune: White Tofu Snow is a delightful and whimsical adventure game that follows the misadventures of the titular Misfortune Ramirez Hernandez. After receiving an invitation to the Queen's birthday party, Misfortune and her trusty fox Mr. Voice set out on a journey through a strange and surreal world filled with quirky characters and bizarre challenges.The game's visuals are a standout feature, with a hand-drawn art style that gives the world a unique and charming aesthetic. The characters are expressive and full of personality, and the environments are rich with detail and atmosphere.The gameplay is simple yet engaging, with players guiding Misfortune through a series of point-and-click puzzles and dialogue choices. The puzzles are clever andoften require some lateral thinking to solve, while the dialogue choices shape the story and lead to different outcomes.The story is both heartwarming and thought-provoking, exploring themes of friendship, loss, and the importance of accepting oneself. Misfortune is a complex and relatable character, and her journey is both entertaining and emotionally resonant.Overall, The Little Misfortune: White Tofu Snow is a charming and memorable adventure game that offers a unique and engaging experience. Its whimsical art style, clever puzzles, and heartwarming story make it a must-play for fans of the genre.中文回答:《小小不幸,白雪豆腐》是一款令人愉悦且充满奇思妙想的游戏,讲述了小小不幸·拉米雷兹·赫尔南德斯的奇遇。
小朵朵和半个巫婆读后感50字
小朵朵和半个巫婆读后感50字英文回答:The book "Little Duoduo and Half a Witch" is a heartwarming story about the friendship between a little girl named Duoduo and a half-witch. The story takes place in a magical world where Duoduo discovers a hidden door in her house that leads to the Witch's Forest. There, she meets the half-witch, who is kind and funny despite her unusual appearance.Duoduo and the half-witch embark on various adventures together, exploring the magical creatures and places in the Witch's Forest. Through their friendship, Duoduo learns important lessons about acceptance, courage, and the power of true friendship.What I love most about this book is the way it celebrates differences and teaches children about embracing diversity. Duoduo's acceptance of the half-witch despiteher unconventional appearance sends a powerful message about the importance of looking beyond outward appearances and valuing inner beauty.Furthermore, the book is beautifully illustrated, capturing the whimsical and enchanting atmosphere of the Witch's Forest. The illustrations bring the characters and settings to life, making the story even more engaging and captivating.Overall, "Little Duoduo and Half a Witch" is a delightful read that teaches valuable life lessons while captivating readers with its magical world and endearing characters.中文回答:《小朵朵和半个巫婆》是一本温馨的故事,讲述了小女孩朵朵和半个巫婆之间的友谊。
面小豆分级阅读三级给青蛙一个拥抱观后感
面小豆分级阅读三级给青蛙一个拥抱观后感英文版Giving a Hug to the Frog: A Reflection on Reading Level Three of the Face Mung Bean Graded Reading SeriesAs I delved into Level Three of the Face Mung Bean Graded Reading Series, I was immediately drawn into the whimsical world of the characters and their adventures. The story "Giving a Hug to the Frog" particularly resonated with me, as it explored themes of friendship, kindness, and overcoming obstacles.The main character, a young girl named Lily, encounters a sad and lonely frog in the forest. Despite being initially hesitant, Lily decides to approach the frog and offer it a hug. Through this simple act of kindness, the frog's spirits are lifted, and a heartwarming friendship blossoms between the two.What struck me the most about this story was the power of empathy and compassion. In a world where negativity and selfishness often prevail, it was refreshing to see a story that highlighted the importance of reaching out to others in need. Lily's willingness to show kindness to the frog, despite its appearance and initial reservations, served as a reminder that we should always strive to treat others with understanding and empathy.Additionally, the story emphasized the idea that true friendship knows no boundaries. Despite their differences, Lily and the frog were able to form a deep connection based on mutual respect and care for one another. This message of inclusivity and acceptance is one that resonates with readers of all ages.In conclusion, "Giving a Hug to the Frog" is a heartwarming tale that reminds us of the power of kindness, empathy, and friendship. Through the simple act of giving a hug, Lily and the frog were able to overcome their differences and form a lasting bond. This story serves as a powerful reminder that a little kindness can go a long way in brightening someone's day.给青蛙一个拥抱:对《面小豆分级阅读》三级的反思当我深入研究《面小豆分级阅读》三级时,我立即被角色和他们的冒险所吸引。
呱唧獾和哼哼熊钓鱼读后感
呱唧獾和哼哼熊钓鱼读后感(中英文版)**English Version:**"Reading Reflection on "Bloop the Badger and Hmph the Bear Go Fishing"""Bloop the Badger and Hmph the Bear Go Fishing" is a delightful story that not only entertains but also imparts valuable life lessons.The tale follows the adventures of two friends, the energetic Bloop the Badger and the easy-going Hmph the Bear, as they embark on a fishing trip.This journey is not just about catching fish; it"s a journey of self-discovery and the importance of friendship.The story highlights the idea that patience is a virtue.Bloop, who is excited and filled with anticipation, learns that fishing requires calmness and perseverance.On the other hand, Hmph"s relaxed demeanor teaches us that sometimes, it"s okay to take a step back and appreciate the simple joys of life.Their contrasting personalities create a hilarious dynamic, making the story engaging and comical.Furthermore, the story emphasizes the significance of teamwork and mutual support.When faced with challenges, Bloop and Hmph work together, demonstrating that collaboration can overcome any obstacle.This sends a powerful message to readers about the strength of friendship and the benefits of working together.The vivid descriptions and lively dialogue make the characters relatable and endearing.The story is not just a fun read; it also subtly introduces children to themes of empathy, compromise, and the importance of sharing.In conclusion, "Bloop the Badger and Hmph the Bear Go Fishing" is a heartwarming tale that leaves a lasting impression.It"s a story that not only captures the imagination but also instills values that are essential for personal growth and the development of healthy relationships.**中文版本:**《呱唧獾和哼哼熊钓鱼读后感》《呱唧獾和哼哼熊钓鱼》是一个既有趣又充满教育意义的故事。
爱丽丝的素甲鱼读后感50字
爱丽丝的素甲鱼读后感50字英文回答:Alice's Adventures in Wonderland is a classicchildren's book by Lewis Carroll, first published in 1865. The book has been translated into more than 120 languages and has never been out of print. It is one of the most popular and beloved children's books of all time.The story follows the adventures of a young girl named Alice who falls down a rabbit hole and finds herself in a strange and wonderful world called Wonderland. There, she meets a cast of eccentric characters, including the Cheshire Cat, the Mad Hatter, and the Queen of Hearts.Alice's Adventures in Wonderland is a timeless tale that has enchanted generations of readers. It is a story about imagination, adventure, and the importance of being yourself.中文回答:《爱丽丝漫游仙境》是刘易斯·卡罗尔创作的经典儿童读物,首次出版于 1865 年。
该书已被翻译成 120 多种语言,从未绝版。
素甲鱼的故事读后感
素甲鱼的故事读后感素甲鱼的故事是一部令人深思的作品。
通过讲述素甲鱼的成长经历,作者揭示了人性的复杂性和生命的意义。
本文将从人物形象、情节安排以及主题思想三个方面展开讨论。
首先,素甲鱼这个人物形象给我留下了深刻的印象。
在故事一开始,素甲鱼只是一个普通的小鱼,长相平凡,毫无特点。
随着故事的展开,他遭受了种种困难和挫折。
然而,素甲鱼并没有放弃,他通过坚持不懈的努力和勇气,逐渐展现出了自己的个性和潜力。
这个形象栩栩如生地展现了一个平凡人的成长轨迹,令我深为感动和鼓舞。
其次,故事的情节安排紧凑且扣人心弦。
作者通过一系列精心设计的情节,使我深入融入到素甲鱼的世界中。
例如,在素甲鱼挣扎于生死边缘的时候,他遇到了一位智慧的老海龟,老龟给了素甲鱼指引和支持,使得素甲鱼得以突破困境。
这样的情节处理让我产生了强烈的共鸣,同时也带给我很大的思考空间。
通过情节的衔接和转折,故事展现了人生的曲折与不可预知性,让我意识到每个人都会面临各种困境和选择,重要的是要坚持自我和勇敢面对。
最后,素甲鱼的故事透露出了深刻的主题思想。
尽管他是一个素甲鱼,没有明显的优势和特权,但是他不断努力、勇敢面对,最终实现了自己的梦想。
这个故事告诉我们,每个人都有着自己独特的价值和能力,只要我们坚持追求,不怕困难,就能够创造出属于自己的辉煌。
同时,故事也提醒我们珍惜生命,传递出了对于生命的敬畏和爱护的理念。
通过素甲鱼的成长,我更加明白了人生的意义并对未来充满了希望和动力。
总之,素甲鱼的故事给我留下了深刻的印象。
通过刻画鲜活的人物形象、紧凑的情节安排和深刻的主题思想,作者成功地传递了对于成长、坚持和珍惜生命的思考。
这个故事不仅仅是一篇鱼的故事,更是对于人生的思考和启示。
读完后,我更加坚信,只要我们抱有信念和勇气,就能够创造属于自己的美好未来。
写半脸海豚读后感作文
写半脸海豚读后感作文英文回答:After reading "Half a Face Dolphin", I was deeply moved by the story and the characters. The author did a fantastic job of capturing the emotions and struggles of the main character, the half-faced dolphin. The way the dolphin faced adversity and overcame challenges resonated with me on a personal level.One of the things that struck me the most was the theme of perseverance and resilience. Despite facing numerous obstacles and setbacks, the dolphin never gave up and continued to fight for survival. This reminded me of the saying "When life gives you lemons, make lemonade." It'sall about turning challenges into opportunities and never losing hope.Another aspect of the story that touched me was the importance of friendship and support. The dolphin'sfriendship with the other sea creatures was heartwarming and showed the power of unity and solidarity. It made me reflect on my own relationships and the value of having a strong support system in times of need.Overall, "Half a Face Dolphin" left a lasting impression on me and reminded me of the strength and resilience we all possess in the face of adversity. It's a powerful reminder to never give up, no matter how tough the circumstances may be.中文回答:读完《半脸海豚》后,我深受故事和人物的感染。
沈石溪的半脸海豚读后感
英文:After reading Shen Shixia's "Half-Faced Dolphin", I was deeply moved by the story's themes of friendship, courage, and survival. The novel tells the story of a young dolphin named Qianqian who is separated from her family and faces many challenges in her journey to reunite with them. Along the way, she meets many new friends who help her overcome obstacles and find a new home. The characters in the story are well-developed and realistic, making them easy to relate to and care about. The plot is carefully crafted and exciting, keeping the reader on the edge of their seat throughout the entire story. Overall, "Half-Faced Dolphin" is a heartfelt and moving story that teaches valuable life lessons about overcoming challenges and finding hope in the face of adversity.中文:读完沈石溪的《半脸海豚》后,我被故事中的友谊、勇气和生存的主题深深地打动了。
最新小甲鱼学完的c语言笔记
目录(ctrl 加鼠标点击)1、翻译查阅2、辅助网上写法3、命令4、头文件5、printf格式字符6、整型数据字节范围表7、命令格式8、循环结构9、数组 10、自定义函数11、关键字解释 12、指针13、预处理 14、结构体15、辅助框架 16、共用体&& 与如果两个的返回值都是真,那么这个的返回值才为真|| 或如果两个的返回值都是真,那么这个的返回值才为真!非printf("%d %s %c %c %d \n")相当于:printf("%-5d%-5s%-4c%-8c%-8s\n")(数字代表空格数)15、辅助框架:#include <stdio.h>#include <windows.h>#define lpBaseAddress 0x486150//地址常量void main(){while(1){char x;HANDLE hProcess;//句柄DWORD lpBuffer;//写入的值DWORD res;//写内存的返回值,判断是否成功DWORD pid;//PIDHWND hWnd;//窗口句柄printf("E键退出\nR键修改\n");x=getchar();if(x=='e'||x=='E'){break;}else{hWnd=FindWindow(NULL,"444");printf("hWnd:%d\n",hWnd);GetWindowThreadProcessId(hWnd,&pid);printf("PID:%d\n",pid);hProcess = OpenProcess( PROCESS_ALL_ACCESS, FALSE, pid);printf("hProcess:%d\n",hProcess);printf("修改多少?\n");scanf("%ld",&lpBuffer);lpBuffer=lpBuffer-10;res=WriteProcessMemory(hProcess,lpBaseAddress,&lpBuffer,4,0);(res==0)?printf("失败\n"):printf("成功\n");}}}/*************************************************** WriteProcessMemory(HANDLE hProcess,LPVOID lpBaseAddress,LPVOID lpBuffer,DWORD nSize,LPDWORD lpNumberOfBytesWrittenreturn res);/*****************************************************************************************************FindWindow(LPCTSTR lpClassName,LPCTSTR lpWindowName);*************************************************** GetWindowThreadProcessId(HWND hWnd,LPDWORD lpdwProcessId);***************************************************OpenProcess(DWORD fdwAccess,BOOL fInherit,DWORD IDProcess);******************************************************************************************************/取句柄:hProcess=Findwindow(NULL,//窗口名称)取PID:HWND hWnd;DWORD Pid;GetWindowThreadProcessId(hWnd,&Pid);读内存:ReadprocessmemoryhProcess [in]远程进程句柄。
小阔叶蝶读书笔记摘抄
小阔叶蝶读书笔记摘抄一、好词摘抄。
1、不可思议:原为佛教用语,指思想言语所不能达到的境界。
后来形容无法想象,很难理解。
2、新颖别致:形容精巧,精致的事物或与众不同的想法或方式等。
3、心血来潮:原义是思绪像浪潮般的突起,比喻心里突然产生某种念头。
4、平淡无奇:平平常常,没有什么突出的、出色的地方。
5、生机盎然:充满生机和活力的,形容生命力旺盛的样子。
6、与众不同:表示与其它人不一样。
7、一无所获:没有一点收获,什么都没得到。
8、天翻地覆:形容变化极大或闹得很凶,秩序大乱。
9、长途跋涉:指远距离的翻山渡水,形容路途遥远,行路辛苦。
10、疲惫不堪:指疲惫,形容极度疲乏或过度劳累。
11、理所当然:意为发生的事情本身合乎道理(非情理),不容怀疑。
12、神魂颠倒:指精神恍惚,颠三倒四,失去常态。
形容对人、物或事入迷着魔。
二、好句摘抄及赏析。
1、一个七岁的男童,脸上透着灵气,但并不每天洗脸,他光着脚,短裤破烂,用一条带子系着,他每天都给我家送萝卜和西红柿。
赏析:外貌描写,写出了这个七岁男童机灵能干、家境贫寒的特点。
2、我当然要。
你想法再给我找一些,你找到多少我要多少,而且我答应你每个星期天带你去玩旋转木马。
若,我的朋友,这是两个苏,给你的。
赏析:语言描写,突出了这个茧对“我”极其重要,正是“我”所急需的东西。
3、我的这位头发乱蓬蓬的小家伙看到这么多钱简直开心极了,隐约感到自己要发大财了。
赏析:神态描写,写出了这个七岁男童看到“我”给他两个苏之后非常开心和兴奋。
4、橡树蛾确实是一种传统的蝶蛾,没有一本昆虫学论著不谈及它在婚恋期间的突出表现。
赏析:“没有一本昆虫学论著不谈及”表明了研究橡树蛾很有价值,特别是它在婚恋期间的突出表现极受昆虫学家们青睐。
5、这个新颖别致的名字是由其雄性的外衣导致的,那是一件棕红色修士长袍,但它不是棕色粗呢,而是柔软的天鹅线,前面的翅膀横有一条泛白的、长有像眼珠似的小白点。
(P81页)赏析:外貌描写,细致地描写了橡树蛾的外形特征,介绍了它的别称——布带小修士的由来。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
数据类型
Div两个整数相除,只能整数相除。
格式:整数1 div 整数2——求X除以Y;
Mod取余数。
除数为0会引发中断异常。
格式:整数1 mod 整数2——求X除以Y的余数;
Const 定义常量变量
格式:
Const
常量1(用大写表示) = 常量值1;
类型常量;
Const
常量名:类型名= 常量值;
Div 定义变量
格式:
Dav
变量名:变量类型;
小写转换函数
格式:
LowerCase(const s:string): string;
大写转换函数
格式:
X1:=UpperCase(‘bCb’); //X1的值为BCB
比较字符串大小函数
格式:
CompareStr(const s1,s2:string):Integer 功能:比较两个字符串s1和s2的大小
本函数区分大小写
、
求字符串长度的函数
Case多分枝语句:格式:
Delphi键值
ESC键 VK_ESCAPE (27)
回车键: VK_RETURN (13)
TAB键: VK_TAB (9)
Caps Lock键: VK_CAPITAL (20) Shift键: VK_SHIFT ($10)
Ctrl键: VK_CONTROL (17)
Alt键: VK_MENU (18)
空格键: VK_SPACE ($20/32)
退格键: VK_BACK (8)
左徽标键: VK_LWIN (91)
右徽标键: VK_LWIN (92)
鼠标右键快捷键:VK_APPS (93)
Insert键: VK_INSERT (45)
Home键: VK_HOME (36)
Page Up: VK_PRIOR (33) PageDown: VK_NEXT (34)
End键: VK_END (35)
Delete键: VK_DELETE (46)
方向键(←): VK_LEFT (37)
方向键(↑): VK_UP (38)
方向键(→): VK_RIGHT (39)
方向键(↓): VK_DOWN (40)
F1键: VK_F1 (112)
F2键: VK_F2 (113)
F3键: VK_F3 (114)
F4键: VK_F4 (115)
F5键: VK_F5 (116)
F6键: VK_F6 (117)
F7键: VK_F7 (118)
F8键: VK_F8 (119)
F9键: VK_F9 (120)
F10键: VK_F10 (121)
F11键: VK_F11 (122)
F12键: VK_F12 (123)
Num Lock键: VK_NUMLOCK (144) 小键盘0: VK_NUMPAD0 (96)
小键盘1: VK_NUMPAD0 (97)
小键盘2: VK_NUMPAD0 (98)
小键盘3: VK_NUMPAD0 (99)
小键盘4: VK_NUMPAD0 (100)
小键盘5: VK_NUMPAD0 (101)
小键盘6: VK_NUMPAD0 (102)
小键盘7: VK_NUMPAD0 (103)
小键盘8: VK_NUMPAD0 (104)
小键盘9: VK_NUMPAD0 (105)
小键盘.: VK_DECIMAL (110)
小键盘*: VK_MULTIPLY (106)
小键盘+: VK_MULTIPLY (107)
小键盘-: VK_SUBTRACT (109)
小键盘/: VK_DIVIDE (111)
Pause Break键: VK_PAUSE (19)
Scroll Lock键: VK_SCROLL (14
窗口置顶函数(小甲鱼11课)
SetWindowLong:
循环语句:
While语句(循环到条件为假时不循环了,先判断后执行)
格式:While(条件) do
语句1
语句2。
语句N
End
语句之间加入”Break”会退出循环,加入Continue 会结束本次循环。
\
Repeat语句(先执行,后判断)不需要用Begin和End
For语句
图片中的to是递增,Down To是递减
十五课:数组
1、静态数组
2、Array
随机数:Random(在程序之前应该生命随机数种子Randomize)
格式:
Randomize;
…….
…….
Random(100); //生成100以内的随机数。
SetWindowLong(Edit1.Handle,GWL_STYLE,GetWindowLong(Edit1.Handle,GWL_STYLE)+E S_CENTER);
去除空格函数:
Trim:去除左右两边的空格;LTrim:去除左边的空格;
RTrim:去除右边的空格;
格式: Trim(String)
字符串长度函数:
Length(Integer)
23课:
鼠标单击
鼠标双击
焦点
鼠标事件
键盘事件
键盘按下,键盘某键按下,某键放开
标签透明背景:Transparent(透明背景)
MaskEdit组件格式
Memo组件
Count:计算行数
返回多少列
Count是计算有多少行ListBox列表框组建
打开文件夹
打开网址
打开XX:
ShellExecute(handle,’open’,’d:/’,nil,nil, SW_SHOWNORMAL) Panel组件
常用的数据类型
枚举类型:
Type
类型标识符= (标识符1,标识符2.。
标识符N);
Case of 语句:
子界类型:
集合类型定义
记录类型的定义使用:
StringGrid组件:
格式:
with StringGrid1 do
begin
cells[1,0]:='姓名';
cells[2,0]:='年龄';
cells[0,1]:='1';
cells[0,2]:='2';
cells[0,3]:='3';
end;
快速清空StringGrid单元内容
文本文件变量:
Rewrite(只读方式打开)
关闭文件:
文本文件写的操作:
文本文件写的操作:
例子:
行尾与文件尾的操作:
记录型文件变量的定义:Record:记录型变量
例子:
记录类型的打开和关闭:
设置默认目录的函数:
0表示文件打开的目录,即是默认目录;CurDir 是存放目录的变量;
判断文件是否存在的函数:
CurDir 是存放目录的变量
记录型文件的记录数:
返回记录个数的函数:
文件指针
Seek过程
Filepos函数
例子:
读取修改记录:
Windows实现拖拽功能的API函数(拖拉功能): WMDropFiles(var message:Tmessage);message WM_DROPFILES; 例子:
接受拖放的响应函数:
DragAcceptFiles(From1.handle,True);
DragQueryFile 函数
用于一个成功文件拖拽后获取文件名称
第一次调用后i为放回文件名的长度;
第二次调用后用FOR 循环将路径传入P这个指针;
注意:先要在前面定义:
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, ComCtrls, Menus,jpeg,ExtCtrls,ShellAPI;
EOF函数返回索引
返回一个Integer,它包含Boolean 值True,表明已经到达为Random 或顺序Input 打开的文件的结尾。
语法
EOF(filenumber)
必要的filenumber 参数是一个Integer,包含任何有效的文件号。
说明
使用EOF 是为了避免因试图在文件结尾处进行输入而产生的错误。
直到到达文件的结尾,EOF 函数都返回False。
对于为访问Random 或Binary 而打开的文件,直到最后一次执行的Get 语句无法读出完整的记录时,EOF 都返回False。
对于为访问Binary 而打开的文件,在EOF 函数返回True 之前,试图使用Input 函数读出整个文件的任何尝试都会导致错误发生。
在用Input 函数读出二进制文件时,要用LOF 和Loc 函数来替换EOF 函数,或者将Get 函数与EOF 函数配合使用。
对于为Output 打开的文件,EOF 总是返回True
取字符串后面的字符函数、
RightStr(取右边的字符)
LeftStr(取左边字符)
首先需要申明:
然后定义过程:
FileName为字符串
3是去后边3个字符;
例子:
多窗口:
Uses Unit1:
Dll编写:。