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. SteeleFusion

    Looking for Help for reading a string from an array

    Thanks for your help so far. I have tried te strtok command as suggested and it does indeed change the contents to just the surname, "Bloggs". However, would I need to add an EOS terminator to the end of the "Bloggs" string? The reason I ask is in my program I am comparing the values held in a...
  2. SteeleFusion

    Looking for Help for reading a string from an array

    Hey, I have been writing a simple program in C which uses fget to read in the first line of a text file into an array called lines[0]. The line of text is a name in the form "Bloggs, Joe" which is what is stored in the array. However, I only really want to store the surname in the array. i.e...

Part and Inventory Search

Back
Top