After some time in C# I've decided to delve into C++, as I enjoy programming video games. C++ is broadly used across the industry so I would like to give it a shot.
The first thing I notice is that C++ doesn't seem to use "objects" the way C# does. In C# ALL programming was done in objects( i.e classes), no methods could be declared outside one, not even an entry point.
C++ appears to use this, but not as often, and sometimes it seems to be more of an afterthought, or perhaps I completely misunderstand the purpose of "objects/classes" in C++.
Which brings me to another thing I'm confused about: headers. From what I can gather, THIS is where you define objects/methods to be used in your program. It's sort of a framework for the main program.
Basically I'm confused about project composition. I'm trying to use this like C#, but 'snot working. Ideally someone here is familiar with both languages and could help close the gap, but just brief explanation of common C++ program structure should suffice.
Thank you very much in advance!
P.S. I imagine that there is probably no such thing as "common" C++ structure, but the relationship between objects and methods or the lack their in is what I'm looking for