ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
[C/++] Crap Coding Style (char*) (Sdk)
[C/++] Crap Coding Style (char*) // Sdkstrike rapierJul 3, 2006, 8:02am
Hi,
Is it me or is the coding style for the C SDK just crap? I mean in terms of the use of char* as function arguments. There is no good reason not to use const char* and prevent casting, the SDK should never ever edit any of its argument data. Its causing a nuisance with having to put in casts galore. -- - Mark Randall http://www.temporal-solutions.co.uk "We're Systems and Networks..." "It's our job to know..." strike rapierJul 3, 2006, 11:48am
[View Quote]
ie: Can we have consistant coding with const char* please.
-- - Mark Randall http://www.temporal-solutions.co.uk "We're Systems and Networks..." "It's our job to know..." |