[glug-t] Hacking in C
- From: Vijay Kumar <vijaykumar@xxxxxxxxxxxx>
- To: glug_t@xxxxxxxxxxxxx
- Date: 30 Mar 2005 22:19:37 +0530
I have always felt that C is a very difficult language to program
in. (I don't mean to start a flame war! I love C very much. In fact,
it is the only compiled language I know.) Nevertheless, C has been
used to write a large amount of free software. It has become
necessary to learn and understand the nuances of the language.
Here is a simple task which is not trivial in C - You have two char
pointers str1 and str2. str2 points to a string, which has to be copied
to a buffer pointed to by str1.
Do send in your solutions to this list. We will find out the best
solution.
Hope this will stir discussion, that everybody can learn from.
Regards,
Vijay
---------------------------------------------------------------
To unsubscribe send a mail to glug_t-request@xxxxxxxxxxxxx with
'unsubscribe' as subject.
Website: http://glugt.linuxisle.com
Other related posts: