i working on project requires me open html file , use contents. added resource files when try open lie this:
std::ifstream templatefile; templatefile.open("filename.html", std::ifstream::in); the operation fails. checked using templatefile.fail(). above operation works when provide full path. file lies in project folder along other files. tried setting build action content still doesnt work. please help.
output directory, executable compiled , put differs source directory, create .cpp/.hpp files (i assume there filename.html file). local path filename.html supposed local executable file, not source file.
read more changing output directory here: https://msdn.microsoft.com/en-us/library/ms165410.aspx
Comments
Post a Comment