Quote:
Originally Posted by Relaxing
2nd and 3rd version use more lines, that's the difference.
|
When should I use
new const &
static const and
#define?
For example;
create_entity(
"info_target");
and
entity classname
Why people use this code?
PHP Code:
new const entity[] = "info_target";
new const classname[] = "parachute" ; example
create_entity(entity);
entity_set_string(para_ent[id],EV_SZ_classname,classname);
__________________