User Profile

Collapse

Profile Sidebar

Collapse
tbonifie
tbonifie
Last Activity: Nov 28 '07, 12:09 AM
Joined: Nov 21 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tbonifie
    replied to help with Char pointers (for formatted dates)
    in C
    Thanks, figured it was a stupid newbie question!!!

    Works like a charm.

    Regards,

    Travis
    See more | Go to post

    Leave a comment:


  • tbonifie
    started a topic help with Char pointers (for formatted dates)
    in C

    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...

    ...
    See more | Go to post
    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
Working...