Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Rellicea

    Strcmp help

    Thanks cpjust :) I've fixed that oversight and it now works, however not perfectly. The function works fine if a correct code is input however if an incorrect code is input then the error message is displayed 8 times then the loop is left :( void reserve (int stands[]) //function header...
  2. Rellicea

    Strcmp help

    I have implemented changes and the program now compiles, however no matter what code I search for the program accepts it, so even if I input an invalid code the program accepts it as correct. Here is the function: void reserve (int stands[]) //function header paramater list with variables {...
  3. Rellicea

    Strcmp help

    Thanks for your reply, sorry about not using tags or indicating where the error lies. I'll looking into incorpating your help into a for loop and see how I go. As for the headers, I was instructed by someone to include those headers and have been taught to use them when performing some of the...
  4. Rellicea

    Strcmp help

    Hi, The problem I am currectly having is with the string function strcmp. I am trying to compare an array of 10 codes with a user inputted code, so when the strcmp finds the user inputted code in the array it can then edit that field in the array. So basically a process to search for a code and...

Part and Inventory Search

Back
Top