分类: 电脑/网络 >> 程序设计 >> 其他编程语言
问题描述:
比如HTML有Dreamweaver这类工具可视化编辑工具,请问C语言有没有这类工具,集成了C语言的所有语法谢谢
解析:
Visual Studio
Public Class Form1
Private Sub Form1_Load(ByVal sender As SystemObject, ByVal e As SystemEventArgs) Handles MyBaseLoad
End Sub
Private Sub Label1_Click(ByVal sender As SystemObject, ByVal e As SystemEventArgs) Handles Label1Click, Label9Click, Label8Click, Label7Click, Label6Click, Label5Click, Label4Click, Label3Click, Label25Click, Label24Click, Label23Click, Label22Click, Label21Click, Label20Click, Label2Click, Label19Click, Label18Click, Label17Click, Label16Click, Label15Click, Label14Click, Label13Click, Label12Click, Label11Click, Label10Click
End Sub
Private Sub Button2_Click(ByVal sender As SystemObject, ByVal e As SystemEventArgs) Handles Button2Click
End Sub
Private Sub Button1_Click(ByVal sender As SystemObject, ByVal e As SystemEventArgs) Handles Button1Click
Dim a(5) As Integer
Dim temp As Integer
a(0) = TextBox1Text
a(1) = TextBox2Text
a(2) = TextBox3Text
a(3) = TextBox4Text
a(4) = TextBox5Text
Dim x As Integer
Dim y As Integer
For y = 0 To 4
x = y + 1
If a(x) > a(y) Then
temp = a(x)
a(x) = a(y)
a(y) = temp
End If
Next y
Label1Text = a(0)
Label2Text = a(1)
Label3Text = a(2)
Label4Text = a(3)
Label5Text = a(4)
For y = 0 To 4
x = y + 1
If a(x) > a(y) Then
temp = a(x)
a(x) = a(y)
a(y) = temp
End If
Next y
Label6Text = a(0)
Label7Text = a(1)
Label8Text = a(2)
Label9Text = a(3)
Label10Text = a(4)
For y = 0 To 4
x = y + 1
If a(x) > a(y) Then
temp = a(x)
a(x) = a(y)
a(y) = temp
End If
Next y
Label11Text = a(0)
Label12Text = a(1)
Label13Text = a(2)
Label14Text = a(3)
Label15Text = a(4)
For y = 0 To 4
x = y + 1
If a(x) > a(y) Then
temp = a(x)
a(x) = a(y)
a(y) = temp
End If
Next y
Label16Text = a(0)
Label17Text = a(1)
Label18Text = a(2)
Label19Text = a(3)
Label20Text = a(4)
For y = 0 To 4
x = y + 1
If a(x) > a(y) Then
temp = a(x)
a(x) = a(y)
a(y) = temp
End If
Next y
Label21Text = a(0)
Label22Text = a(1)
Label23Text = a(2)
Label24Text = a(3)
Label25Text = a(4)
End Sub
End Class
可以用MFC做界面,在Visual C++新建》项目》MFC AppWizard(exe)》dialog based》下面都默认,就能建立一个MFC工程。可以添加控件,控件响应的原理与VB中的类似,建议你找本MFC的教材仔细了解其原理
以上就是关于有没有C语言可视化编程工具全部的内容,包括:有没有C语言可视化编程工具、C语言或VB编的一个简单的排序可视化程序、想用C语言编写一个有可视化的界面,有按钮,有输入框的程序等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)