Also, do I need to type #include <"name of class"> somewhere in the program?
When you #include <"something"> the preprocessor goes looking for a file named something and copies that exactly into your code at the place where you put #include <"something"> . Whatever that file is gets copied in, right there. If you defined your class in some other file, then you could use the #include to copy it into your code. There is no requirement to do that.