-
Notifications
You must be signed in to change notification settings - Fork 30
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
Error in compilation #12
Comments
Do you solve this problem? I also met the bug ... |
I solved it with change the type of ifile into static_cast(ifile); return static_cast<bool>(ifile); |
But I still met the bug after change the type.And here is the erroe message``
I tried. But after that I still have problem.And the Error message: |
is maybe a bit weird and seems not to work as the function is only used to verify, if a file exists and can be accessed: if (!fexists(graph.c_str()) ) { cout << "File not found!" << endl; return; } we can just change it to the statement return ifile.is_open(); works for compiling so far |
Hello,
Thanks for sharing your implementation
However, I cannot compile the program on my computer, I am on Ubuntu 20.04
Here is the error message :
Thank you for your help
The text was updated successfully, but these errors were encountered: