library

I have a class which uses "fopen" , "fread" and isdigit.
But I dont include cstdio or cctype , I use Windows , and im not sure if it runs because im windows or if it work without thos elibraries on linux as well, i participate in algorithmic contests and I want to know if i should include cstdio and cctype
This generally happens due to header chaining. Something of yours includes something that includes something that includes something.... that includes these headers.

If you use it in a file, include it. Then it will work if you use it in another program. It won't hurt anything to re-include it.
Topic archived. No new replies allowed.