在c ++中添加两个解决方案 [英] adding two solutions in c++

查看:90
本文介绍了在c ++中添加两个解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我在visual studio .net中开发了一个c ++控制台项目,现在我希望使其变得用户友好,以便可以直观地添加路径和数字之类的某些字段
这样用户就可以根据自己的意愿更改路径(现在控制台路径已硬编码,因此已固定),
所以我制作了一个新的项目c ++ Windows应用程序,并在窗体上设置了一些字段,现在想从Windows应用程序窗体的文本框中获取值,并将其分配给控制台应用程序(这是第一个问题),我想关闭Windows窗体应用程序窗体并运行控制台,一切都在控制台上完成(第二个问题),有没有办法做到这一点.

请提出建议并帮助我..

thanx ..

解决方案

是的,有一种方法( Google ).无论如何,我建议您遵循标准"路线:编写具有嵌入式控制台应用程序功能的GUI应用程序,即,制作一个具有所有必需功能的Windowed应用程序.


hi
i developed a c++ console project in visual studio .net , and now i wish to make it user friendly so that some fields like path and numbers can be add visually
so that user can change path according to his wish (now in console path is hardcoded so it is fixed),
so i make a new project c++ windows application,and set some fields at forms now want to take the value from the textboxes of the form of windows application, and assign it to console application (this is first problem) , and i want to close the windows form applications form and run console everything is done on console (second problem),is there any way to do this..

please suggest and help me ..

thanx..

解决方案

Yes, there is a way (Google for Windows IPC). Anyway, I suggest you to follow the ''standard'' route: write the GUI application with the console application functionalities embedded in, i.e. make a Windowed application featuring all the required functionalities.


这篇关于在c ++中添加两个解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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