I was pretty confused about the difference between struct and class as I seemed to see them used for pretty much the same things. I googled the differences and the only answer I
Your lecturers are demonstrably wrong, assuming they are actually talking about C++ and not C.
It's trivially easy to prove this to yourself in code, or pick up The C++ Programming Language and look up structs.