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 MikeeOK 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. misbird

    Gets command problem

    Got it working. I found the fflush command and entered it prior to the gets. /* Statements */ fflush(stdin); printf("\nEnter a Name and Number Below:\n "); printf(":"); gets(newPtr); printf( "The line entered was: %s\n", newPtr ); success = AVL_Insert...
  2. misbird

    Gets command problem

    I have figured out that the problem is some how caused by my menu system. I tested by calling the function before the menu function in main and when I did this it did prompt me. For some reason with the menu function running it passes some parameter over to the variable assigne as the variable...
  3. misbird

    Gets command problem

    Thanks for the suggestion. I tried that but still it keeps passing gets right on by. If I can determine what is the cause I will post my resolve.
  4. misbird

    Gets command problem

    I have gets command in my code but when it should prompt me it skips right past it and it appears to insert a number string that looks to be related to the number of character designated in the char declaration. Her is a copy of the function. Is thare any other command that can be used to...

Part and Inventory Search

Back
Top