vb6.0用选择法对10个整数排列
vb6.0编程
Dim a(1 to 10) as Integer, maxIndex as Integer, tmp as Integer 'a(1-10)=?赋值 For i = 1 to 9 maxIndex = i For j = i + 1 to 10 If a(j) > a(maxIndex) Then maxIndex = j End If Next j tmp = a(i) a(i) = a(maxIndex) a(maxIndex) = tmp Next i
答:For j = i + 1 To 10 If a(i) > a(j) Then t = a(i): a(i) = a(j): a(j) = t End If N...详情>>
答:线性链表分好几种,分为单链,双链等,它们的存储顺序也不一样. 线性表是顺序存储的,占顺序的存储空间详情>>
问:电脑安装了VB6.0,为什么打开方式里面没有VB程序选项,进安装好的VB里去关联...
答:打开方式最下面还有一个《选择程序》,点开后查VB的安装目录的EXE,找到后直接打开,下次就会在打开方式里查到了详情>>