Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling issue #10

Open
zewangnew opened this issue Jan 11, 2022 · 0 comments
Open

compiling issue #10

zewangnew opened this issue Jan 11, 2022 · 0 comments

Comments

@zewangnew
Copy link

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) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant