Time Class

So i made my own time class. Stupidly i named it time.h n time.cpp
to incorporate the library <ctime> do i have to change the name of my class and all the data in the cpp file? it keeps giving me errors saying that certain things dont exist every time i try to include <ctime>.
Unless you've also added the containing directory of your time.h to the compiler's include directories list, there shouldn't be any problem.
In any case, I think it's a good idea to rename those files.
closed account (z05DSL3A)
...or put your class in a namespace.
Topic archived. No new replies allowed.