Thread: 2 Words

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Why are you doing their home work for them? Do you think none of the four people before you that gave hints how to do it know how? Come on man! We don't just give out the full working code. How are they supposed to learn anything that way? For that matter, why are you using '<=' for white space comparison? Use isspace if you really want to test for white space. That's what it's designed for. It takes local into account.


    Quzah.
    Hope is the first step on the road to disappointment.

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    151

    Post

    Thanks vangmor. Actually I just needed a start and not the whole code. I was not supposed to use file functions as the others gave. I had to input the file using the UNIX operator '<'

    So thanks again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  2. seg fault at vectornew
    By tytelizgal in forum C Programming
    Replies: 2
    Last Post: 10-25-2008, 01:22 PM
  3. Problem with malloc() and sorting words from text file
    By goron350 in forum C Programming
    Replies: 11
    Last Post: 11-30-2004, 10:01 AM
  4. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 08:00 PM