Sometimes its done in the header file, sometimes its done in the implementation. I’m fairly new to programming. Could someone briefly explain when to do which?
Sometimes its done in the header file, sometimes its done in the implementation. I’m
Share
When it’s meant for other classes, put it in the header. When it’s just meant for that class, put it in a class extension in the implementation file.