You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing the code. I noticed the following error in gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0/ios:40.
and had to use fail() to make it work. In other words, "inputfile == NULL" needs to be replaced by "inputfile.fail()
../te-datainit.cpp:94:17: error: no match for ‘operator==’ (operand types are ‘std::ifstream’ {aka ‘std::basic_ifstream’} and ‘long int’)
94 | if (inputfile == NULL) {
The text was updated successfully, but these errors were encountered:
Thanks for sharing the code. I noticed the following error in gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0/ios:40.
and had to use fail() to make it work. In other words, "inputfile == NULL" needs to be replaced by "inputfile.fail()
../te-datainit.cpp:94:17: error: no match for ‘operator==’ (operand types are ‘std::ifstream’ {aka ‘std::basic_ifstream’} and ‘long int’)
94 | if (inputfile == NULL) {
The text was updated successfully, but these errors were encountered: