Hack Forums
[C] error: ISO C++ forbids comparison between pointer and integer [-fpermissive]| - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C] error: ISO C++ forbids comparison between pointer and integer [-fpermissive]| (/showthread.php?tid=6209283)



error: ISO C++ forbids comparison between pointer and integer [-fpermissive]| - Equivalent_Jaguar198 - Jun 13, 2022

I watched this video: https :// ww w. you t u be .c om/w at c h ?v= 6f1GUyY9TYE

and I keep getting this error when I try to compile the program.


RE: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]| - Nachfolger - Jun 13, 2022

It's unreasonable to expect someone to watch the video to figure out the issue. Post the relevant code.


RE: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]| - Equivalent_Jaguar198 - Jun 13, 2022

(Jun 13, 2022 12:29 PM)Nachfolger Wrote:  It's unreasonable to expect someone to watch the video to figure out the issue. Post the relevant code.

Sorry. here is the whole code: https: //paste bin.co m/eWgyN1Wt


RE: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]| - Faith Connors - Jun 13, 2022

what is line 69 actually supposed to be doing?
do you actually understand the code you're using or are you just failing at copy-pasting?


RE: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]| - Equivalent_Jaguar198 - Jun 13, 2022

(Jun 13, 2022 01:44 PM)Faith Connors Wrote:  what is line 69 actually supposed to be doing?
do you actually understand the code you're using or are you just failing at copy-pasting?

got it from a tutorial...