hi. i'm trying to run my program but i get this error message...
cannot convert âstd::stringâ to âstd::string*â for argument â1â to âvoid change(std::string*, int)â
...does anyone know what it means and where i am messing up?
hi. i'm trying to run my program but i get this error message...
cannot convert âstd::stringâ to âstd::string*â for argument â1â to âvoid change(std::string*, int)â
...does anyone know what it means and where i am messing up?
look at the function parameters and then look at what you are trying to pass. There apparently are some difference. I'd say you're trying to pass a pointer where its not supposed to be a pointer, or vice versa.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.