Visual Studio 2008中未处理的异常

问题描述

| 我用C ++编写了程序。我使用\'cout \'进行调试。一切正常,我删除了调试注释,但是运行程序有问题。当我使用评论时,一切正常。但是,当我删除它们时,程序会启动,允许我写文件名,但是当我按下\'enter \'时,会发生错误: Pathfinder.exe中0x0142d866处未处理的异常:0xC0000005:访问冲突读取位置0xcccccc70 然后xiosbase头文件打开,指示
fmtflags __CLR_OR_THIS_CALL flags() const
{   // return format flags
    return (_Fmtfl);
}
当我尝试将元素放入Map中时发生错误。仅当在其他函数中删除了调试注释时,才会发生这种情况。 有人可以帮忙吗?
-this 0xcccccc6c {_Stdstr=??? _Mystate=??? _Except=??? ...} const std::ios_base * const
    std::_Iosb<int> {...}   std::_Iosb<int>
    __vfptr CXX0030: Error: expression cannot be evaluated  
    _Stdstr CXX0030: Error: expression cannot be evaluated  
    _Mystate CXX0030: Error: expression cannot be evaluated 
    _Except CXX0030: Error: expression cannot be evaluated  
    _Fmtfl  CXX0030: Error: expression cannot be evaluated  
    _Prec   CXX0030: Error: expression cannot be evaluated  
    _Wide   CXX0030: Error: expression cannot be evaluated  
    _Arr    CXX0017: Error: symbol \"\" not found 
    _Calls  CXX0017: Error: symbol \"\" not found 
    _Ploc   CXX0017: Error: symbol \"\" not found 
    _Index  0   int
    _Sync   true    bool
    

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)