Splitting a passage

Discussion in 'C' started by Allan87, Jan 14, 2007.

  1. Allan87

    Allan87 New Member

    Joined:
    Jan 14, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    How would I go about writing a function that reads a data file in and split it up into separate words? This is in C and not C++ by the way.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Refer to the following articles

    [thread=1323]File Handling in C - File Pointers[/thread]
    [thread=1268]File Splitter and Merger[/thread]
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice