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

Search:

Type: Posts; User: GCDEF

Search: Search took 0.70 seconds.

  1. Replies
    9
    Views
    1,581

    Re: Problem with loop in my beginner program

    Hopefully you got the point that if you're going to use null terminated strings, you need to need enough space for the null terminator, which you didn't do. Your test is failing because whatever...
  2. Replies
    9
    Views
    1,581

    Re: Problem with loop in my beginner program

    Input is defind as a one byte char array, which is not what you want. Just define it as a char, and check for equality using == 'y'. If you want to use string routines such as stricmp, you'll need...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured