哪里可以找到Visual Studio 2008中的错误 [英] where to find the errors in visual studio 2008

查看:87
本文介绍了哪里可以找到Visual Studio 2008中的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Microsoft Visual Studio 2008中运行了一个c ++程序,我看到输出窗口显示有3个错误.能否告诉我在哪里可以找到这些错误?是否有任何选项可以在turbo c whihc列表中找到错误和行号,可能的错误等详细信息.

I have run a c++ program in Microsoft Visual Studio 2008.I have seen that the output window shows that there are 3 errors.Could you tell me where can I find those errors?Is there any option as in turbo c whihc lists the errors and the details like the line number ,the possible error,etc.

推荐答案

Visual Studio列出了错误,包括文件名和行号.您确定这些是编译器错误吗?也许如果您将完整的文本复制并粘贴到上面的问题中,那么也许有人可以提供进一步的帮助.
Visual studio lists the errors and includes the filename and the line number. Are you sure these are compiler errors? Perhaps if you copy and paste the complete text into your question above someone may be able to help further.


Visua Studio有一个"Error List"窗口.您可以使用菜单View->Error List使其显示(如果尚未显示).
(至少我在Visual Studio 2005上的这项工作在这里.)
Visua Studio has an ''Error List'' Window. You may make it show (if isn''t already there) using the menu View->Error List.
(At least this work on the Visual Studio 2005 I have here).


我假设由于错误而停止了编译,并且您没有从VS中运行已编译的程序(也可能会写入输出窗口.)

在输出窗口中向上滚动以查看带有源文件名和行号的消息.双击错误消息以打开相应的源文件,并将光标设置在发生错误的行.要获取有关错误号的帮助,请单击错误号以设置光标,然后按F1.
I assume that compilation stopped due to an error, and you did not run an already compiled program from within VS (which may also write to the output window).

Scroll upwards in the output window to see the messages with source file name and line number. Double-click on the error message to open the corresponding source file and set the cursor to the line where the error occurs. To obtain help on the error number, click on the error number to set the cursor, and press F1.


这篇关于哪里可以找到Visual Studio 2008中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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