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 gkittelson 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. barriee

    the DIE command

    Could the reason that 'm4trix' was not seeing the error message sent by 'die' be due to the STDERR being re-directed away from STDOUT on that machine? OR that the window in which the error message is being displayed is being terminated before you get chance to see it. I am VERY new to Perl...
  2. barriee

    Reposition array base pointer

    It's already sort of been covered, but I just wanted to re-iterate the point... the name of an array is defined as the address of the first element of the array (so in the case of int a[10]; a is the same as &a[0], i.e. effectively, it is a pointer. However, the name of an array is a special...
  3. barriee

    User Input

    There are 2 ways that I know of, these are: (1) insert the following code after the scanf: while (getc (stdin) != '\n'); i.e. getc will continue to pull the remining characters from the stdin buffer until the 'end of line' character is received. (2) use the fflush library function to...

Part and Inventory Search

Back
Top