⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 read_data.h

📁 早期freebsd实现
💻 H
字号:
// -*- C++ -*-// READ_DATA reads ascii (or binary) data from an istream (or File) of// coordinates and labels.  It passes back the array of points (x, y,// and label) containing the data.#ifndef read_data_h#define read_data_h 1#include <stream.h>#include <String.h>#include <ctype.h>#include "pXPlex.h"#ifdef HUGE#undef HUGE#endif#define HUGE 1e37#define sp <<" "<<#define nl <<"\n"// data_type value indicates the type of data present in the input files.typedef enum { ASCII, DOUBLE, INT } data_type;// read ascii binary data from a filevoidread_data (istream& in, char* in_filename, pointXPlex &pplex,	   int auto_abscissa, double x_start,	   double delta_x, int &symbol_number,	   data_type input_data, int switch_symbols);#endif

⌨️ 快捷键说明

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