global_stuff.h

来自「《无线通信系统仿真——c++使用模型》这本书的源代码」· C头文件 代码 · 共 53 行

H
53
字号
//
//  File = global_stuff.h
//
//=========================================================
//  Global Stuff

#ifndef _GLOBAL_STUFF_H_
#define _GLOBAL_STUFF_H_
#include <stdlib.h> 
#include <iostream> 
#include <fstream>
#include <math.h>
//#include <direct.h>
#include "sigstuff.h"
#include "control_T.h"
#include "parmfile.h"
#include "syst_graph.h"
#include "sigplot.h"
#include "reports.h"
#include "exec.h"
#include "psstream.h"
   
ofstream LongReport;
ofstream ShortReport;
PracSimStream DetailedResults;
PracSimStream BasicResults;
PracSimStream ErrorStream;

char* DateString;
bool DateInFileNames;

PracSimModel *CommSystem;
SystemGraph CommSystemGraph;
Executive Exec;
PracSimModel *PrevModelConstr;
PracSimModel *ActiveModel;
SignalPlotter SigPlot;
int PassNumber;
int MaxPassNumber;
int EnclaveNumber;
int EnclaveOffset[10];

//#ifdef _DEBUG
// ofstream DebugFile("../"SIM_NAME"/"SIM_NAME".dbg", ios::out);
//#endif
//ParmFile ParmInput("../"SIM_NAME"/"SIM_NAME".dat");
//char SimName[] = SIM_NAME;
ParmFile *ParmInput;
ofstream *DebugFile;
char *SimName;
void SimulationStartup(char *sim_name, char *sim_title);
#endif

⌨️ 快捷键说明

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