Integer To Roman


…while compiling its showing error as
ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings].

Hello @souravrao3110 , The compiler is showing error because you are trying to equate char* to a char array . Instead you can use string as the second pair parameter in the vector .
The error is resolved now . Here is the code :


Thankyou :slight_smile: