nmmz.net
当前位置:首页 >> VB大作业 >>

VB大作业

写个俄罗斯方块之类的游戏程序.

这也叫大作业?当文科生就是好;不过还是建议你自己做,说实话,多学点东西确实挺好,给你提供两个思路:1.就像参数列表中的,字符数组用for循环先取从0到m-1,然后将它放到一个临时数组中;然后再取数组下标m到9,并将它和临时数组合并;2.将字符数组转化成字符串,用字符串截取函数处理获得移动后的m到9共9-m+1位字符串,然后再加上以前截取的后m-1位字符串.

Dim ctStart As Long, ctSelLen As Long, ctOnlySel As BooleanDim ctRead As Boolean, ctPause As BooleanPrivate WithEvents nVoice As SpVoicePrivate Sub Form_Load() Dim I As Long Me.Caption = "中英文自动朗读器" Set nVoice = New

你这东西最少得300RMB以上才有人做,你这连百度财富值都没有还是不要想了.

Option Base 1 Dim Score() As Integer Dim a() As Integer Dim N As Integer, Max As Integer, Min As Integer, Average As Single, Jie As Single, You As Single, Jie1 As Single, You1 As Single Dim p1, p2, p3, p4, p5, p6 As Integer Private Sub

以下代码涉及控件:Command1、Picture1、Picture2Sub F(n As Integer, m As Integer, t As Boolean)m = StrReverse(n)t = ((m Mod n) = 0 And m \ n > 1)End SubPrivate Sub Command1_Click()Dim n As Integer, m As Integer, t As BooleanFor n =

添加如下控件 添加如下代码 Option Explicit Private Sub Command1_Click() Call defult(True) End Sub Private Sub Command2_Click() Call defult(False) End Sub Private Sub Command3_Click() Unload Me End Sub Private Sub Form_Load() Me.

需要代做程序请+ 308259156

在 产生 按钮事件中,用随机数生成两个数组,然后对数组进行排序.合并 按钮事件中,将两个数组元素并入一个数组中,然后再进行排序,就可以了.

#include <stdio.h> void main() { int a[10][10]; int i,j; for(i=0;i<10;i++) { a[i][0]=1; a[i][i]=1; } for(i=0;i<10;i++) for(j=1;j<i;j++) a[i][j]=a[i-1][j]+a[i-1][j-1]; for(i=0;i<10;i++) { for(j=0;j<=i;j++) printf("%6d",a[i][j]); printf("\n"); } }

mcrm.net | ymjm.net | ldyk.net | zxpr.net | 9213.net | 网站首页 | 网站地图
All rights reserved Powered by www.nmmz.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com