将VB.net转换为C ++吗? [英] Convert VB.net to C++ ?

查看:117
本文介绍了将VB.net转换为C ++吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问我的问题有可能吗?
如何将vb.net代码转换为C ++
文件:http://www.mediafire.com/?89f8ksy7x3zakzz
我没有c ++的任何经验,我是一名学生,但我想转换vb.net
代码文件到c ++ ...
我只是在C ++中创建一个md5防病毒软件
如果有人有在C ++中执行md5的代码,请告诉我:)
谢谢! :)

Hellow is my question is possible?
How to convert vb.net codes to c++
file: http://www.mediafire.com/?89f8ksy7x3zakzz
I do not have any experience in c++ I am a student but I want to convert the vb.net
code file to c++...
I am just creating a md5 antivirus in c++
If somebody has a code to perform md5 in c++ please let me know :)
Thanks! :)

推荐答案

对于C#,是的:我使用了从C#到VB转换器 [ ^ ])

但是对于C ++? .Net Framework具有庞大的库,在纯C ++中没有简单的等效库.如果您的代码使用诸如ToString之类的方法或诸如MemoryStreamConvert之类的类,则您将不得不分别查找这些库或自行编写它们.
To C#, yes: I have used the VB to C# translator at Developer Fusion[^] often enough (and the C# to VB converter[^])

But to C++? The .Net Framework has a vast library with no easy equivalent in pure C++. If your code uses methods like ToString or classes like MemoryStream or Convert, you will have to find these libraries separately or else code them yourself.


您需要学习C ++.
这不是转换".这是C ++/CLI还是C ++.如果这是.NET的纯C ++/CLI,则可以翻译代码,但如果是Windows的C ++,则是完全不同的平台和技术.这更像是从头开始编写大部分代码.

—SA
You would need to learn C++.
This is not "converting". Is this C++/CLI or C++. If this is pure C++/CLI for .NET you could translate your code, but if this is C++ for Windows, this is a very different platform and technology. It''s more like writing big part of your code from scratch.

—SA


[回答有关FileSytemWatcher的后续问题]

您可以使用原始Windows API来实现.NET FileSytemWatcher的行为.

http://msdn.microsoft.com/en-us/library/aa365261 (v = vs.85).aspx [
[Answering a follow-up question about FileSytemWatcher]

You can implement behavior of .NET FileSytemWatcher using raw Windows API.

http://msdn.microsoft.com/en-us/library/aa365261(v=vs.85).aspx[^].

—SA


这篇关于将VB.net转换为C ++吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆