我用vc编译时出的问题,各位帮看看怎么办?
原程序如下:
#include <iostream.h>
void main()
{
int a,b,c;
cin >> a >> b >> c;
c = a + b;
cout << c << endl;
}
debug如下:
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
The thread 0x764 has exited with code -1073741510 (0xC000013A).
The thread 0x768 has exited with code -1073741510 (0xC000013A).
The program 'C:\Documents and Settings\discory\example\Fig.2\н¨Îļþ¼Ð\Debug\Cpp2.exe' has exited with code -1073741510 (0xC000013A).
我能做的如下:
setup has installed an icon in the microsoft Visual c++ 6.0 tools program group,that will allow you to install a subset of the windows NT system symbols(.DBG) files from your visual determine the context of
called functions.
For easier appplication debugging,it is strongly recommended that you install these files.
See the Visual C++ readme for more in information.
各位帮我啊,现在我不能用vc了,重装vc也没用。xx
问题点数:0、回复次数:12Top
1 楼StdAfx(任杰)回复于 2003-08-03 21:56:57 得分 0
你这个程序在我的电脑上运行一切正常。
Top
2 楼StdAfx(任杰)回复于 2003-08-03 21:59:22 得分 0
忘了告诉你,前提条件是你输入的确实是数字,要不然肯定是会出问题的,但这必然出问题,因为你的代码里面本来没有处理非正常输入的情况。Top
3 楼discory(discory)回复于 2003-08-04 01:04:26 得分 0
我是输入的数值啊,但情况没变Top
4 楼Yashmak(双层面纱)回复于 2003-08-04 03:48:40 得分 0
你用的是Windows XP或Win2k吧?
(The program 'C:\Documents and Settings\discory\example\Fig.2\н)
但是为什么会请求一个Win9X的目录?
(Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.)
你找一个“ntdll.dll”的文件到vc的msdev.exe所在目录看一下。Top
5 楼xuguilin(桂林)回复于 2003-08-04 15:50:26 得分 0
这个程序在我机器上也是正常的呀Top
6 楼cancer001(美丽恶魔小猪妹之私人保镖——迪斯马斯古)回复于 2003-08-04 15:53:05 得分 0
这个程序是正常的Top
7 楼sdedu(卷心菜)回复于 2003-08-05 22:56:38 得分 0
重装系统看看!Top
8 楼sdedu(卷心菜)回复于 2003-08-05 22:59:27 得分 0
重装系统看看!Top
9 楼yanhongsan(cui)回复于 2003-08-06 15:19:22 得分 0
建的工程不一定对啊。。。。。编译c++用win32 applicationTop
10 楼idau7((小i不怕)我爱Eva)回复于 2003-08-06 15:30:04 得分 0
我在2k+vc6.0也试了,正常啊~。Top
11 楼cernet(二黑)回复于 2003-08-06 15:38:46 得分 0
编译C++用win32 applicationTop
12 楼cernet(二黑)回复于 2003-08-06 16:31:47 得分 0
不好意思,刚才说错了,应该创建一个Win32 Console Application工程就一点问题就没有了.
Win2000adserver+Vc6.0Top




