#ifndef PRINT_DEF #define PRINT_DEF #include //for strings #include //for printf,scanf #include //for atoi, atof #include #include #include #include #endif #ifndef PARSE_DEF #define PARSE_DEF #define MAXBUFLEN 200 void getFromString (const char* buf, int* n); void getFromString (const char* buf, size_t* n); void getFromString (const char* buf, double* n); void getFromString (const char* buf, char* n); int parseString(FILE* input, const char* keyword, const size_t bufLen, char* n); template int parseNumber(FILE* input, const char* keyword, const size_t bufLen, T* n); template int parseArray(FILE* input, const char* keyword, const size_t bufLen, const size_t arrLen, T y[]); int parseDrop(FILE* input, const char* keyword,char dropSpec[][10],double dropMole[],const size_t bufLen); #include "parse.hpp" #endif