显示程序的结果. [英] Displaying the outcome of the program.

查看:70
本文介绍了显示程序的结果.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我不得不更换笔记本电脑上的hardrive,因此我一直在使用台式机.我必须在桌面上下载Visual Studio才能用于课堂.当我运行程序时,命令提示符框会弹出并显示按任意键继续", 它不显示程序的结果.在我第一次在笔记本电脑上使用Visual Studio之前,我曾遇到过此问题,但已将其修复.现在,我只是不记得自己做了什么修复.有人可以告诉我我需要做什么吗?我到处搜寻

Recently I have had to replace my hardrive on my laptop, so I have been using my desktop. I had to download Visual Studio on my desktop to use for my class. When I run a program, the command prompt box pops up and displays "press any key to continue", it does not display the outcome of the program. I had this problem before when I first used Visual Studio on my laptop, but I fixed it. Now, I just cannot remember what I did to fix it. Could someone please tell me what I need to do? I have searched everywhere to no avail!!!

推荐答案

嗨gravesm76,

Hi gravesm76,

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

您使用哪个视觉工作室?

Which visual studio do you use?

您使用哪种语言,C#,vb或C ++?

And which language do you use, C#, vb or C++?

我在我的visual studio 2015中测试了此问题,并创建了一个C#控制台应用程序项目,命令提示符将显示以下结果:

I tested this issue on my visual studio 2015, and I create a C# console application project, and the command prompt will have the outcome:

您可以尝试使用这个简单的示例来测试此问题吗?

Could you try this simple sample to test this issue?

或者您可以向我们展示示例代码,以便我们为您测试此问题?

Or could you show us the sample code so that we could test this issue on our side for you?

最好的问候


这篇关于显示程序的结果.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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