Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef STORMS_H
- #define STORMS_H
- #include <fstream>
- using namespace std;
- void printMenu();
- const int MAX_CHAR = 20;
- struct STORM{
- char NAME[MAX_CHAR] = {};
- int STORM_YEAR = 0;
- int STORM_MONTH = 0;
- int STORM_DAY = 0;
- char TYPE[MAX_CHAR] = {};
- int STORM_CAT = 0;
- int MAX_SPEED = 00;
- };
- void initStorm( char* NAME, int STORM_YEAR, int STORM_MONTH, int STORM_DAY,
- char* TYPE, int STORM_CAT, int MAX_SPEED);
- void printStorm();
- void fillStormList(struct STORM Storm, ifstream &inFile);
- void getStormName(ifstream &inFile, char NAME[]);
- void getStormYear(ifstream &inFile, int STORM_YEAR);
- void getStormMonth(ifstream &inFile, int STORM_MONTH);
- void getStormDay(ifstream &inFile, int STORM_DAY);
- void getStormType(ifstream &inFile, char TYPE);
- void getStormCat(ifstream &inFile, int STORM_CAT);
- void getStormMaxSpeed(ifstream &inFile, int MAX_SPEED);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement