I have declared the following function prototypes in "functions.h". Here is the contents of the file:
I get an error when I try to compile this which says that string is an undeclared identifier.Code:#ifndef FUNCTIONS_H #define FUNCTIONS_H #include <string> int open_source_file(string); int display_source_file(string); int display_story_file(string); void menu(); #endif
Maybe I am doing something wrong, but whar I mean by the first 3 function prototypes is that they all take a string as an argument.
Thanks