Thread: codes

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Aug 2012
    Posts
    32

    codes

    Hi guys,
    i'm writing some codes for a coming exams and stuck with a strange question. in the question i'm asked to write 2 function as follows in the attached file.. and under the given limitations in the second file.
    i will start by saying that i can't use pointers at all.

    what i don't know how to do:
    1. space code- move each space one chars right. and in order ti revers the process we need to move each space chars left. how do i do that ?
    2. i didn't understand all the cleaning input thing... i have no idea.
    3. as well as for how to remove all spaces at the beginning and the end of a sentsnce.
    4. at the middle of sentence, the number os spaces needs to be reduced to one.

    thank you!
    Attached Images Attached Images codes-task-jpg codes-jpg 

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. c codes need help,thanks
    By hth373737 in forum C Programming
    Replies: 21
    Last Post: 11-23-2008, 10:45 PM
  2. Need some C++ codes...
    By blah569 in forum C++ Programming
    Replies: 5
    Last Post: 10-05-2005, 02:21 PM
  3. zip codes
    By missny in forum C Programming
    Replies: 10
    Last Post: 09-16-2005, 02:39 AM
  4. VK codes
    By Hunter2 in forum Windows Programming
    Replies: 10
    Last Post: 08-24-2002, 09:58 AM
  5. converting scan codes to ascii codes
    By stupid_mutt in forum C Programming
    Replies: 11
    Last Post: 01-25-2002, 04:06 PM