I'm coding to touch up on some skills with classes. I'm using Sublivim as a vimrc file and for some strange reason, I'm getting an error with my strcpy() function. I'm getting an error stating that states "no matching function call to 'strcpy'." However, this is odd because I have <cstring> included in my code.
A separate issue is that my code says, "cannot initialize a parameter of type 'char' with an lvalue of type 'char'. I'm not sure why this is the case, but I've been playing with it for too long now.
Another clue to helping me solve this may be that I had to change my vimrc to compile using g++ and not gcc. I'm running a 2014 Macbook Pro Retina (most recent OS). It shouldn't be an issue, but I'm tried switching between several and I'm not seeing this error disappear. I've included my code and some photos of what my vimrc looks like. The arrows indicate that there is an error on the line and those are my problem areas.
> "no matching function call to 'strcpy'."
> "cannot initialize a parameter of type 'char' with an lvalue of type 'char'
If you don't know what the error means, then don't paraprhase it.
If you know what the error means, then don't paraprhase it.
Write the full error message, including line numbers.