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 bkrike 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: fgs3124
  • Content: Threads
  • Order by date
  1. fgs3124

    Does C have the equivalent of the C++ substring function?

    I am writing a C program and need to use the equivalent of the C++ substring function to return the 1st 10 characters of a string. Does C have something similar or has anyone had to write their own function?
  2. fgs3124

    Simple Search Algorithm

    Here's an easy one for the experience programmers (of which I am not one of). I want to perform a simple search for a string value (eg. labor) in a text line I read in between the line positions of 0 to 10. I have done multiple searches out there and have come across the Boyer-Moore search...
  3. fgs3124

    C2106 Error Assigning a String Literal to a char Array

    I am a novice C programmer and I am running into the "common" C2106 error when attempting to assign a pointer to a string like the following: char *pos0; char pat0[100]; . . . pat0 = pos0; I realize that I can't assign a memory pointer directly to a literal string. However, I need...

Part and Inventory Search

Back
Top