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 Westi 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: *

  • Users: suann
  • Order by date
  1. suann

    How to check if a string is an integer

    Thanks Dian for the quick response. What if I am in the middle of program. I am not reading value from the user input. Ex., char *Query; Query=(char *)malloc(sizeof(char)*500); strcpy(Query,"AB123456"); Now how do I know whether Query string contains only integers or contains both...
  2. suann

    How to check if a string is an integer

    Hi Guys, I am new to C programming, How do I check if a string is an integer. Eg., x="AB123456" -- In my program I want to print this is not an integer but if x="123456" I want to print this is an integer. Any help greatly appreciated. Thanks Suann.

Part and Inventory Search

Back
Top