Thread: help!!!

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

    help!!!

    need help.... i have write a code for a program which accepts two strings as inputs and the output should be a string1-string2.... i.e. one entire string should be deleted from the other if present!!!! ex: string1=hello world string2=wor.. the output should b a hello ld..... plz help

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Read the Homework Policy and show us a good example that you tried...
    Sent from my iPadŽ

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    "help" is not a subject title either.

    Maybe start with showing us whether you can read a string in, and then print it back to the user without changing the string.
    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.

Popular pages Recent additions subscribe to a feed