Difference between "const text[]" and "text[]"?
#3

Quote:
Originally Posted by MicroD
Посмотреть сообщение
Prevent arrays from being modified, with that const.

Код:
stock fail(const msg[])
{
    msg[0] = 0;
}
It will not be changed.
You mean changes like what?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)