Posted by Computer Consultant on 1999-04-05
>>
>> * Is there predefined function to do the following:
>> append a string to an existing one. (including new
>> memallocation...) or
>> do I have to do this by hand (which should not be
>> that difficult)
>>
>
>man sprintf
That will not allocate new memory
>
>> * Has someone a function that replaces each
>> occurence of given substring
>> in a string by another string?
>
>I'm sure the combination of some string.h functions
>would help here.
>Start with "man strstr"
>Look at the bottom of the man page and you will see
>names of other related functions. Try the man pages
>for these.
>
>>
>> * and another question:
>> can anyone tell me good online resources for info on
>> things like
>> - standard libraries, what functions they have with
>> a short explanation
>> ...
>> - perl by examples but for C
>> - the CKB for C
>
>For starters you have a world of open source software
>out there. Just download the GNU source and check it
>out.
>
>Also I find the info mode in emacs really good.
>
>
>===
>Matty .
>http://members.xoom.com/mattpratt/ _--_|\
>mattpratt@xxxxx.xxx / \
>s3099239@xxxxxxx.xxx.xxx.xx \_.--._/<--Canberra,
>W2K - The other millenium bug. v Australia
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| http://www.nauticom.net/www/secret |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
3%
Previous post | Next post | Timeline | Home