stdafx.h

来自「利用c++语言写的三维FDTD」· C头文件 代码 · 共 34 行

H
34
字号
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

//select the run enviroment -WIN or -IBM_AIX
#ifdef _WIN32
	#include <windows.h>
    #define run_enviroment 1
#else //IBM AIX
	#include <unistd.h> //for getwd()
	#include <sys/stat.h> //for mkdir()
#endif

#include <iostream>

#ifdef _OPENMP
	#include <omp.h>
	//IBM ReadBook: Developing and Porting C and C++ Applications on AIX 
	//Chapter 9. Program parallelization using OpenMP page 367
	//Note: In the current implementation, nested parallel regions are always
    //serialized. As a result, omp_set_nested() does not have any effect, and
    //omp_get_nested() always returns 0 on AIX.
#endif

#include "Matrix.h"
#include "Load_Save_File_Data.h"
#include <cmath>
#include <ctime>

using std::cout;
using std::endl;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?