Hi,
why is it giving me the warning: deprecated conversion from string constant to ‘char*’
How may I fix this?
Any help is welcome
#include <iostream>
using namespace std;
class Melarki
{
public:
Melarki(): first(""){};
Melarki(char * mimi): first(mimi){};
~Melarki(){delete first;};
char * first;
};
int main()
{
Melarki wholeMelarki("Stuff");
return 0;
}