Search Result

Collapse
2 results in 0.0041 seconds.
Keywords
Members
Tags
char initialize
  •  

  • codeGhost
    started a topic C++ (char *) initialization issues
    in C

    C++ (char *) initialization issues

    I've been trying to ignore this issue for a while now, but I've come to the point in my code where I can't do so anymore. (For those of you who are wondering, this is NOT a homework question).

    Platform: VC++ 2002
    System: Windows XP, sp3

    ::First, here's the code in question::

    Code:
    char * cSection (const char* data, int start, int finish)
    {
    if (start >= 0 && finish >=
    ...
    See more | Go to post

  • Yang Lee
    Guest started a topic initialize char string
    in C

    initialize char string

    hi
    is this correct

    char teststr[100]="\0";

    or is there another method to initialise;
    thanks
    lee


    --
    Posted via Mailgate.ORG Server - http://www.Mailgate.ORG...
    See more | Go to post
Working...