无法打印C ++源代码 [英] Cannot Print C++ Source Code

查看:171
本文介绍了无法打印C ++源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在编译和执行项目后,如何在Visual Studion 2008中获得C ++源代码的打印结果?  (我是新手,请帮忙!)

How possible is it, to obtain a Printing Result for a C++ Source Code in Visual Studion 2008 after Compiling and Executing the Project?   (I am a Novice, Please Help!!)

推荐答案

如果您指的是输出窗口"的内容,最简单的方法是将焦点放在输出窗口"中(单击此处的文本,以便出现条形光标),然后从文件"菜单中选择打印...".

If you are referring to the content of the Output Window, the easiest way is to put the focus in the Output Window (click on the text there so the bar cursor appears), then select Print... from the File menu.

请注意,要同时获得编译结果和执行结果,您将必须执行两次.构建一次后,执行结束后再一次.

Note that to get both the compile result and the execution result, you will have to do this twice. Once after you build, then again after execution ends.

如果要将两个输出都放在一个文档中,建议您复制构建输出,然后使用记事本或其他文本编辑器将其粘贴到文本文件中,然后对执行输出执行相同操作(将其粘贴到构建下方)输出).

If you want both outputs in one document, I'd suggest your copy the build output and paste it into a text file, using Notepad or other text editor, then do the same with the execution output (pasting it below the build output).

如果要打印源代码,请首先将要打印的源代码文件放在编辑器窗口中.确保单击代码以将焦点放在该窗口上,然后选择File-> Print ...

If you are trying to print your source code, first put the source code file you want to print in the editor window. Make sure to click in the code to put the focus on that window, then select File->Print...


这篇关于无法打印C ++源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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