[Freeciv-Dev] Re: OO model for Freeciv?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
>> s += '.';
>>
>> What is the shortest way to express this in C?
> s = strcat((char *)realloc(s , strlen(s) + 1), ".");
Oops, sorry. Should have been:
s = strcat((char *)realloc(s , strlen(s) + 2), ".");
Regards,
I.Q.
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
- [Freeciv-Dev] Re: OO model for Freeciv?, David Pfitzner, 2000/05/01
- [Freeciv-Dev] Re: OO model for Freeciv?, Jules Bean, 2000/05/01
- [Freeciv-Dev] Re: OO model for Freeciv?, Tony Stuckey, 2000/05/01
- [Freeciv-Dev] Re: OO model for Freeciv?, Florian Klein, 2000/05/01
- [Freeciv-Dev] Re: OO model for Freeciv?, 蔡恆華, 2000/05/01
- [Freeciv-Dev] Re: OO model for Freeciv?,
蔡恆華 <=
- [Freeciv-Dev] Re: OO model for Freeciv?, 蔡恆華, 2000/05/01
- [Freeciv-Dev] Re: OO model for Freeciv?, Peter Schaefer, 2000/05/02
- [Freeciv-Dev] Re: OO model for Freeciv?, Peter Schaefer, 2000/05/02
- [Freeciv-Dev] Re: OO model for Freeciv?, Dan Ward, 2000/05/02
|
|