求助~~VC2010手动调试时出现的,不知道怎么看
怎么看这些东西,从而分析出程序出错的地方。。。源程序编译成功,运行时停止工作,不知为什么!
(太长了,分几贴发)
// xiosbase internal header (from <ios>)
#pragma once
#ifndef _XIOSBASE_
#define _XIOSBASE_
#ifndef RC_INVOKED
#include <xlocale>
#if _HAS_CPP0X
#include <system_error>
#endif /* _HAS_CPP0X */
#include <share.h>
#pragma pack(push,_CRT_PACKING)
#pragma warning(push,3)
#pragma warning(disable: 4412)
#define _OPENPROT_SH_DENYNO
#pragma push_macro("new")
#undef new
_STD_BEGIN
#define _IOSskipws0x0001
#define _IOSunitbuf0x0002
#define _IOSuppercase0x0004
#define _IOSshowbase0x0008
#define _IOSshowpoint0x0010
#define _IOSshowpos0x0020
#define _IOSleft0x0040
#define _IOSright0x0080
#define _IOSinternal0x0100
#define _IOSdec0x0200
#define _IOSoct0x0400
#define _IOShex0x0800
#define _IOSscientific0x1000
#define _IOSfixed0x2000
#define _IOShexfloat0x3000// added with TR1/
#define _IOSboolalpha0x4000
#define _IOS_Stdio0x8000
#define _IOS_Nocreate0x40
#define _IOS_Noreplace0x80
#define _IOSbinary0x20
// TEMPLATE CLASS _Iosb
template<class _Dummy>
class _Iosb
{// define templatized bitmask/enumerated types, instantiate on demand
public:
enum _Dummy_enum {_Dummy_enum_val = 1};// don't ask
enum _Fmtflags
{// constants for formatting options
_Fmtmask = 0xffff, _Fmtzero = 0};
static const _Fmtflags skipws = (_Fmtflags)_IOSskipws;
static const _Fmtflags unitbuf = (_Fmtflags)_IOSunitbuf;
static const _Fmtflags uppercase = (_Fmtflags)_IOSuppercase;
static const _Fmtflags showbase = (_Fmtflags)_IOSshowbase;
static const _Fmtflags showpoint = (_Fmtflags)_IOSshowpoint;
static const _Fmtflags showpos = (_Fmtflags)_IOSshowpos;
static const _Fmtflags left = (_Fmtflags)_IOSleft;
static const _Fmtflags right = (_Fmtflags)_IOSright;
static const _Fmtflags internal = (_Fmtflags)_IOSinternal;
static const _Fmtflags dec = (_Fmtflags)_IOSdec;
static const _Fmtflags oct = (_Fmtflags)_IOSoct;
static const _Fmtflags hex = (_Fmtflags)_IOShex;
static const _Fmtflags scientific = (_Fmtflags)_IOSscientific;
static const _Fmtflags fixed = (_Fmtflags)_IOSfixed;
static const _Fmtflags hexfloat =
(_Fmtflags)_IOShexfloat;// added with TR1/
static const _Fmtflags boolalpha = (_Fmtflags)_IOSboolalpha;
static const _Fmtflags _Stdio = (_Fmtflags)_IOS_Stdio;
static const _Fmtflags adjustfield = (_Fmtflags)(_IOSleft
| _IOSright | _IOSinternal);
static const _Fmtflags basefield = (_Fmtflags)(_IOSdec
| _IOSoct | _IOShex);
static const _Fmtflags floatfield = (_Fmtflags)(_IOSscientific
| _IOSfixed);
enum _Iostate
{// constants for stream states
_Statmask = 0x17};
static const _Iostate goodbit = (_Iostate)0x0;
static const _Iostate eofbit = (_Iostate)0x1;
static const _Iostate failbit = (_Iostate)0x2;
static const _Iostate badbit = (_Iostate)0x4;
static const _Iostate _Hardfail = (_Iostate)0x10;
enum _Openmode
{// constants for file opening options
_Openmask = 0xff};
[解决办法]
光看楼主贴上的代码不容易诊断问题,建议在程序入口点打上断点单步跟踪定位,或者至少能缩小问题范围,再提上来讨论
~VC2010手动调试时出现的,不知道如何看
求助~~VC2010手动调试时出现的,不知道怎么看怎么看这些东西,从而分析出程序出错的地方。。。源程序编译成功,
