Hello, I'm learning on how to use Constructors and I can't figure out what's the problem in the code below Can someone lend me a hand in fixing the code below and explain to me what's wrong in this code below. Thanks.
A class with all members public is effectively a struct. #include <string> is missing. There's also a better way to initialise variables in a constructor. strings should be passed by const ref (or use move from a copy)