资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

c++程序转vb.net c++程序转apk

C语言转换为VB.NET

Option Explicit On

创新互联从2013年成立,是专业互联网技术服务公司,拥有项目成都网站设计、成都做网站、外贸网站建设网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元东明做网站,已为上家服务,为东明各地企业和个人服务,联系电话:18980820575

Option Strict On

Imports System

Module Program

Sub Main()

Dim y,m,t As Integer

begin:

' 输入数据时一行一个

y=CInt(Console.ReadLine())

m=CInt(Console.ReadLine())

t=CInt(Console.ReadLine())

If y

200 Then

Console.WriteLine("ERROR")

goto begin

End If

pr(y,m,t)

Console.Write("Press any key to continue . . . ")

Console.ReadKey(True)

End Sub

Function pr(y As Integer,m As Integer,t As Integer) As Integer

Dim ye,[Me],i As Integer

ye=CInt((m+t-2)/12+y)

[Me]=(m+t-2) Mod 12+1

End If

End Function

Function mday(y As Integer,m As Integer) As Integer

Dim day As Integer()={0,31,28,31,30,31,30,31,31,30,31,30,31}

Dim ad As I

怎样将一个C语言程序转换成VB程序

dim wolf as integer,sheep as integer,cai as integer

for wolf=0 to 1

if wolf=1 then print "wolf":i=i+1

if i=2 then print:i=0

for sheep=0 to 1

if wolf=1 then sheep=0

if sheep=1 then print "sheep":i=i+1

if i=2 then print:i=0

for cai=0 to 1

if sheep=1 then cai=0

if cai=1 then print "cai":i=i+1

if i=2 then print:i=0

next cai

next sheep

next wolf

如何将C#语言转换为VB.net语言?

晕,我下过这么个软件,就是从C#转换成VB.NET

不过

我找到了一个网址

打开就可以了

在线翻译


网站栏目:c++程序转vb.net c++程序转apk
标题来源:http://cdkjz.cn/article/dohcghs.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

大客户专线   成都:13518219792   座机:028-86922220