如何在C#中编译旧的C ++ [英] How to compile old C++ in C#

查看:77
本文介绍了如何在C#中编译旧的C ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想构建一个小型的c ++ IDE(不是编译器),因为在我的高中时我使用的是旧的turbo c ++黑色和IDE。我想用c#构建它。我使用c#从2年开始。但没有找到任何lib。为此。



我尝试过的事情:



我试过在线查找图书馆。但找不到

I just want to build a small c++ IDE (not a compiler) because in my high school I am using a old turbo c++ black and while IDE. I wanted to build it in c#.I am using c# from 2 years. but don't found any lib. for that.

What I have tried:

I had tried to find library online. but cannot find

推荐答案

如果我是你,我不会这样做:为了在C#中开发IDE,你将需要(或者至少想要)Visual Studio - 它直接包含C ++支持,以及成为人类已知的最佳IDE!



IDE不仅仅是编辑器和编译器 - 我假设你是要编写编辑器位并从那里使用Borland编译器 - 这是一个集成开发环境:这意味着编辑器,编译器和调试器都可以和谐地协同工作。让Turbo C ++调试器在你的编辑器中工作将是一个巨大的痛苦!



另外,我不认为你知道你有多少工作让自己进入!



要么坚持Borland,要么转到Visual Studio - 但如果你在Borland的课程,我会坚持,即使它不是现在已经在现实世界中大量使用了!否则,您将通过编写课程材料和练习,为更好地服务的方向投入大量精力。
I wouldn't if I was you: in order to develop the IDE in C# you are going to need (or at least want) Visual Studio - and it includes C++ support directly, as well as being the best IDE known to man!

An IDE is not just an editor and a compiler - I assume you are going to write the editor bit and use the Borland compiler from there - it's an Integrated Development Environment: which means that the editor, compiler, and debugger all work harmoniously together. Getting a Turbo C++ debugger to work in your editor is going to be a major pain!

In addition, I don;t think you realise just how much work you are getting yourself into!

Either stick to Borland, or switch to Visual Studio - but if your course in Borland based, I'd stick to that, even if it's not a whole lot of use in the real world any more! You will otherwise be putting a lot of effort into a direction that would be better served by working on the course material and exercises instead.


这篇关于如何在C#中编译旧的C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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