描述:
Compiling...
StdAfx.cpp
e:\microsoft visual studio\vc98\include\ostream(234) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify -GX
e:\microsoft visual studio\vc98\include\ostream(229) : while compiling class-template member function 'class std::basic_ostream<char,struct std::char_traits<char> > &__thiscall std::basic_ostream<char,struct std::char_traits<char> >::put(cha
r)'
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#if !defined(AFX_STDAFX_H__A6029C04_ED87_4C53_916A_20C7DFEC4BA3__INCLUDED_)
#define AFX_STDAFX_H__A6029C04_ED87_4C53_916A_20C7DFEC4BA3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define STRICT
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400
#endif
#define _ATL_APARTMENT_THREADED
//////////////////////////////////////////////////////////////////////////
#include <math.h>
#include <comutil.h>
#include <fstream>
#include <string>
#include <iomanip>
#include <cstdlib>
#include <sstream>
#include <complex>
#pragma comment(lib, "comsupp.lib")
#define PI 3.1415926535898
using namespace std; ///是不是域名的错误?????
void Sequence1(complex<double> *a,complex<double> &u);
void Sequence2(complex<double> *a,complex<double> &u);
#include <atlbase.h>
//You may derive a class from CComModule and use it if you want to override
//something, but do not change the name of _Module
extern CComModule _Module;
#include <atlcom.h>
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__A6029C04_ED87_4C53_916A_20C7DFEC4BA3__INCLUDED)
还有就是其他cpp文件在引用StdAfx.h时也会抱错!!!!
向高手请教!!!