I just finished the video on structs and in it I noticed that Ben says that a struct is like a class. The largest problem I have with implementing code on my own or learning math is that I never seem to know when to use what tools.
So Ben says that structs are public by default but I still don’t understand. Why would I use a struct when I could make a new class (CPP file) instead? Is the answer just that structs contain only a few lines?
If anyone could make this clearer to me I think it will really help me when it comes time to write my own code.