what is strchr func

This is a discussion on what is strchr func within the C Programming forums, part of the General Programming Boards category; What is the strchr function?...

  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    5

    what is strchr func

    What is the strchr function?

  2. #2
    Registered User SKeane's Avatar
    Join Date
    Sep 2006
    Location
    England
    Posts
    234
    RTFM

    strchr()

    (strrchr()) Returns a pointer to the first (last) occurrence of character c in string s, or a null pointer if c does not occur in the string. The null byte terminating a string is considered to be part of the string.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    5
    Thank you.I am using it with \n to strip it off.
    ur info helped me a lot.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic question about GSL ODE func RK4
    By cosmich in forum Game Programming
    Replies: 1
    Last Post: 05-07-2007, 02:27 AM
  2. how can i call a func by touching some adrs ?
    By jabka in forum C Programming
    Replies: 6
    Last Post: 04-25-2007, 01:41 PM
  3. Using strchr() and moving the cursor up one row
    By Mavix in forum C Programming
    Replies: 7
    Last Post: 09-26-2006, 12:34 PM
  4. typedef a func
    By trekker in forum C Programming
    Replies: 4
    Last Post: 07-02-2002, 05:15 AM
  5. Delete & print func()
    By spentdome in forum C Programming
    Replies: 5
    Last Post: 05-29-2002, 09:02 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21