View Single Post
Old Jul 15th, 2006, 6:32 PM   #5
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Quote:
Originally Posted by grumpy
Your functions are essentially recreating the wheel of the C standard library.
That was the intention of this exercise. Using an array of characters was also another part of the exercise.

Thank you for the help.


By the way, Narue, I'm not sure if you were calling my approach to it incorrect. Because all I had to do was add the word static before the declaration of "new_text". Which is still returning a pointer, but it's not as if I had to do much.

Last edited by Sane; Jul 15th, 2006 at 7:01 PM.
Sane is offline   Reply With Quote