User Profile

Collapse

Profile Sidebar

Collapse
girish16
girish16
Last Activity: Mar 24 '08, 07:23 AM
Joined: Mar 19 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • girish16
    replied to C++ -- char * having junk characters
    in C
    Apologies,
    My code looks something like this

    int manu()
    {
    char *Test1 = NULL;
    char *Test2 = NULL;
    int returnCode;

    // I pass Test1 to another function and populate its value;

    returnCode = function ( Test1 );

    Test2 = Test1;

    // when i print Test1 and Test2, sometimes they both have different values ( NOT ALWAYS, after i run them continuously...
    See more | Go to post

    Leave a comment:


  • girish16
    started a topic C++ -- char * having junk characters
    in C

    C++ -- char * having junk characters

    Hi Experts,
    I am having problems with the below c++ code

    func manu()
    {
    char *Test1 = NULL;
    char *Test2 = NULL;
    int returnCode;

    // I pass Test1 to another function and populate its value;

    returnCode = function ( Test1 );

    Test2 = Test1;

    // when i print Test1 and Test2, sometimes they both have different values (...
    See more | Go to post
No activity results to display
Show More
Working...