This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

const char* instand of char*

Old posts that have not been replied to for several years.
Locked
a
amir

Post by amir »

all over eggdrop code, 1.6.x and 1.7.x

const char* is almost and isn't used.

I wander why, since in some places it is used, and some places it isn't...



any special reason?

User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

const char * should be used more often, probably, since it's a bad idea to write into memory you don't own.
Locked