warning: deprecated conversion from string constant to ‘char*’

I might encounter when I compile with code::blocks one C++ file.

You won’t get that error.

You need to make an explicit typecast:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.