第一次照搬程序的感想
2012-05-22 16:51
218 查看
啊,虽然我去晚了,但是我迎难而上,努力赶上他们的步骤,顶着巨大压力,坚持不懂就问的原则,最终还是让老师帮我弄出来了。嘻嘻
Option Explicit
Private Sub Command1_Click()
Dim M As Integer
Dim N As Integer
M = Int(Val(Text1.Text))
N = Int(Val(Text2.Text))
Dim Temparyvalue As Integer
If M < N Then
Temparyvalue = M
M = N
N = Temparyvalue
End If
Dim Remainder As Integer
Remainder = M Mod N
While Remainder <> 0
M = N
N = Remainder
Remainder = M Mod N
Wend
Label5.Caption = Str(N)
End Sub
首先我发现我打字母太慢,所以以后要多练习。
其次,就是老打错单词,看来学好英语很重要。
最后,label是不能乱用的,简单最好
报告完毕。
钦此
学生:李亚伟
Option Explicit
Private Sub Command1_Click()
Dim M As Integer
Dim N As Integer
M = Int(Val(Text1.Text))
N = Int(Val(Text2.Text))
Dim Temparyvalue As Integer
If M < N Then
Temparyvalue = M
M = N
N = Temparyvalue
End If
Dim Remainder As Integer
Remainder = M Mod N
While Remainder <> 0
M = N
N = Remainder
Remainder = M Mod N
Wend
Label5.Caption = Str(N)
End Sub
首先我发现我打字母太慢,所以以后要多练习。
其次,就是老打错单词,看来学好英语很重要。
最后,label是不能乱用的,简单最好
报告完毕。
钦此
学生:李亚伟
相关文章推荐
- 第一次编程序的感想
- 英译汉程序,第一次帮网友改程序的作品。
- 第一次部署GoogleAppEngine网络程序
- 初学c程序的感想
- 写程序的一些感想和教训
- OpenGL学习——第一次编译OpenGL程序所遇问题
- 第一次在linux下运行.netcore程序
- 第一次打程序
- 关于asp.net程序第一次运行速度慢的问题解决办法
- 第一次参加区域赛之旅——2016 ACM/ICPC 大连站 感想
- Android判断程序是否第一次启动
- 第一次编写opengl程序,遇到“无法打开包括文件:“gl\glaux.h”: No such file or directory”怎么办?
- 使用SharedPreferences存储来设置程序第一次进入欢迎界面,以后不会再进入欢迎界面
- 程序感想
- Android程序如何判断是不是第一次启动
- 第一次项目感想
- 第一次 Linux 环境下的程序编译与链接记录
- 第一次C程序上机报告
- mysql第一次装上后,不能用java或其他程序语言连接问题