注册 登录
编程论坛 C++教室

visual c++软件出现毛病了,帮忙看看吧。

胡添诚 发布于 2018-07-05 19:09, 1685 次点击
明明只是编译一个很简单的程序,但是软件却提示了很奇葩的错误。。。最最最关键的是,我一点击那个错误,程序就会变成另一个。。。。
下面是跳转的代码
#if     _MSC_VER > 1000
#pragma once
#endif

#ifndef _IOSTREAM_
#define _IOSTREAM_
#include <istream>

#ifdef  _MSC_VER
#pragma pack(push,8)
#endif  /* _MSC_VER */
_STD_BEGIN
        // OBJECTS
static ios_base;Init _Ios_init;
extern _CRTIMP istream cin;
extern _CRTIMP ostream cout;
extern _CRTIMP ostream cerr, clog;
        // CLASS _Winit
class _CRTIMP _Winit {
public:
    _Winit();
    ~_Winit();
private:
    static int _Init_cnt;
    };
        // WIDE OBJECTS
static _Winit _Wios_init;
extern _CRTIMP wistream wcin;
extern _CRTIMP wostream wcout, wcerr, wclog;
_STD_END
#ifdef  _MSC_VER
#pragma pack(pop)
#endif  /* _MSC_VER */

#endif /* _IOSTREAM_ */

/*
 * Copyright (c) 1994 by P.J. Plauger.  ALL RIGHTS RESERVED.
 * Consult your license regarding permissions and restrictions.
 */
2 回复
#2
胡添诚2018-07-05 19:11
图一:
只有本站会员才能查看附件,请 登录

图二:
只有本站会员才能查看附件,请 登录
#3
yangfrancis2018-07-11 13:28
那个分号是半角还是全角?
1