Thread: help

  1. #1
    Registered User
    Join Date
    Mar 2013


    how to read characters from user and construct a sting and then extract part of it using substring?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    On making an effort
    Announcements - C Programming
    Announcements - General Programming Boards

    On starting slowly with simple steps and building up towards your complete program.
    A development process

    For example, post a program which just reads chars and prints them, then see how you feel about the next step.

    On choosing meaningful topic titles
    How To Ask Questions The Smart Way
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Sep 2006
    These are basic string operations, but they take a bit of care to code up in C.

    Welcome to the forum, pixcel!

    You would really benefit if you worked through the C tutorial which is linked to the C Tutorial button at the top of this page. LOTS of basic how-to info in there, for practical use in your programs.

    Give that tutorial a read-through, and give your program a try. If you get stuck, post your program and explain the problem. That lets us focus right in on the difficulty, with minimum time spent looking.

Popular pages Recent additions subscribe to a feed