问题描述
我有一个GUI C ++应用程序(Visual Studio 2008),需要转换为控制台。
我没有任何C编程经验。主要是我使用.NET。我从哪里开始?
I have a GUI C++ application (Visual Studio 2008) that needs to be converted to a console one.I don't have any experience in C programming. Mostly I use .NET. Where do I start?
推荐答案
下转换GUI应用程序是大手术。编程模型完全不同,GUI应用程序是事件驱动的。依靠消息循环来传递事件,在消息处理程序中处理。通常是一堆控制器,负责处理输入的垃圾工作。
Down-converting a GUI app is major surgery. The programming model is entirely different, a GUI app is event driven. Relying on a message loop to deliver events, processed in message handlers. And typically a bunch of controls that take care of the grunge work of taking input.
由于你必须完全重新设计应用程序,使其作为控制台模式应用程序并且没有使用该语言的经验,使用经验丰富的.NET语言编写该语言是快速完成该语言的最佳方式。
Given that you have to completely redesign the app to make it work as a console mode app and that you don't have experience with the language, writing this in a .NET language you have experience with is the best way to get it completed quickly.
这篇关于将GUI C ++应用程序转换为控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!