I was trying to run the code that was provided in the oops section , but it shows me this warning
warning: ISO C++ forbids converting a string constant to ‘char*’
I didn’t make any changes to code, also I believe that its the same code that the instructor had written in the lecture video.
His code was working perfectly fine, then why isn’t this ?