on-internet
← Community

Do I always need to create a header file if I want to include my class in another file? [duplicate]

Stack Overflow ·

I don't want to write my class inside main.cpp, but I don't know how to include it, I saw some solutions that require header files.

Comments

Sign in or sign up to comment and upvote.

No comments yet.