Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

Creating header files for a C++ class


I have a classroom set up for my C++ students and we are now learning about creating our own classes. I need to be able to define the class structure in a file saved as a header file. Can this be done on I tried just naming it with the .h extension but I get all kinds of errors related to not knowing what the Class type is, which I am sure relates to the header file.

4 years ago
You are viewing a single comment. View All