I was wondering how to add header files to C++. My professor wants a program that reads data from text files into the members of an array of structs. I think I can figure this out, but any advice is appreciated.
What I am really confused about is he wants nothing in main.cpp but file input/output variable declaration and function calls. So I am trying to write header files for functions and data manipulation, but I do not know how to create and integrate header files into my main.cpp. Any clear cut and step by step instructions are welcome. Still very new to C++ and Dev-C++ 😊 Thank you
I was wondering how to add header files to C++. My professor wants a program that reads data from text files into the members of an array of structs. I think I can figure this out, but any advice is appreciated.
What I am really confused about is he wants nothing in main.cpp but file input/output variable declaration and function calls. So I am trying to write header files for functions and data manipulation, but I do not know how to create and integrate header files into my main.cpp. Any clear cut and step by step instructions are welcome. Still very new to C++ and Dev-C++ 😊 Thank you
Sent from Mail for Windows 10