CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Philip Nicoletti

Search: Search took 3.58 seconds.

  1. Replies
    6
    Views
    7,574

    Re: Text reading and writing

    You can remove leading and trailing whitespaces using a combination
    of string::erase and string::find_first_not_of (leading) or string::find_last_not_of
    (for trailing).

    Since you are going to...
  2. Replies
    6
    Views
    7,574

    Re: Text reading and writing

    You have ...


    char busNum[] = "";

    // then you do the folllowing :

    line.copy(busNum,secondMarkPos - (firstMarkPos + 1),firstMarkPos + 1);
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured