Const vs Non-Const.

"Valnir" <[email protected]> Mon, 27 Feb 2006 15:24:47 -0500
Newsgroups gmane.games.devel.mud.rom
Message-ID <[email protected]>
I have a question, should be a quick answer for you guys. What, if any, 
would be the disadvantage of changing my cmd_table from:

const struct cmd_type cmd_table [] =

to be just:

struct cmd_type cmd_table [] =

I need to take the "const" out of it so I can use qsort to sort the command 
table in memory. I just need to know from you guys what kind of headache I 
might be creating for myself.

Thanks!

- Valnir

-- 
ROM mailing list
[email protected]
Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom