+ 4
Weird error in c++
What does this mean?? https://www.sololearn.com/post/127287/?ref=app https://code.sololearn.com/cDDkVDrzNuYk/?ref=app
6 Respuestas
+ 5
Yes, EOF cannot be used as a variable name. This gives no error.
https://code.sololearn.com/c481heYrdrYO/?ref=app
+ 5
The problem is the EOF variable. EOF is a macro definition with value of -1. Declaring varible with that will cause error
+ 3
EOF can't be used because it's predefined. EOF - end of file.
+ 2
Keyword cant be used as variable (key points)
Just confused the compiler pity compiler😆😆😆