Pages

Friday, March 22, 2013

deprecated conversion from string constant to 'char*'

Hi all

I am working with strings and i cant figure out why the following

warning appears at time of build.

 

warning: deprecated conversion from string constant to 'char*'

It appears for the line

 

char *myName = "Apple.txt";

Is there anyone who can help me?

Help is welcome.

Thanks in advance.


View the original article here

0 comments:

Post a Comment