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

Search:

Type: Posts; User: RichardsPeter39yahoo

Search: Search took 0.03 seconds.

  1. Replies
    6
    Views
    2,198

    Re: string comparing problem

    Paul McKenzie[/QUOTE]
    ****************************************************
    I have lots of code samples from an old PC with Borland 5.5 C++
    hence the use of char (from an old code segment). ...
  2. Replies
    6
    Views
    2,198

    Re: string comparing problem

    ****************************************************
    Your suggestion that I instead use this:
    if (strcmp(string_a,string_b) == 0)
    worked fine. Plus I removed the 2 redundant globals. Thanks...
  3. Replies
    6
    Views
    2,198

    string comparing problem

    In my 96 line main.cpp code below, at lines 40-44 I can't get this loop to work:
    if(string_a==string_b)
    {
    printf("string_a and string_b match\n");
    return 0;
    }
    string_a and string_b...
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured