char *subject = strdup(" Bonkers")

Andy Wardley abw at wardley.org
Sun May 13 17:50:44 BST 2007


Andy Armstrong wrote:
> Or indeed
> 
> char *str = strdup("original");

I'm showing my age now, but C didn't have strdup() back when I first
learnt it.  So it's all a bit too new and fangly to slip easily into
my limited C programming lexicon.

Old dog + new tricks = type mismatch!

A






More information about the london.pm mailing list