int add(int i, int p)
{
return i + p;
}
#include <fstream>
#include <string>
#include <iostream>
int main()
{
std::ofstream fileRead;
std::string line;
fileRead.open("c:\\My Awesome Text File.txt");
if (!fileRead) {
std::cout << "Failed to open \"My Awesome Text File.txt\"\nClosing" << std::endl;
return 0;
}
/* process file like normal */
return 0;
}