Thanks, figured it was a stupid newbie question!!!
Works like a charm.
Regards,
Travis
User Profile
Collapse
-
help with Char pointers (for formatted dates)
Hello -
I'm re-learning some programming to use at work (haven't done C in 11 years and am learning C++)...
I'm returning a pointer from a function and when it's returned, the target char array has some extra garbage characters at the end.
So here's the function I've written (with much stripped away):
pMydate points to a 'char MyOtherArray[17]' outside of the function...
...Last edited by Ganon11; Nov 21 '07, 06:32 PM. Reason: Please use the [CODE] tags provided, rather than [INDENT] tags.
No activity results to display
Show More
Leave a comment: