Thread: Question about chained sequence

  1. #1
    Registered User
    Join Date
    Dec 2006

    Question about chained sequence

    Hi guys, how are you hope you are ok. First of all I'd like to thank you for the fantastic forum. I have a problem with c++. 10 days ago, I tried to solve a program and i didnít reach to any thing. Also I asked a lot of people and forums but no body could solve it.
    Please I'm very depressed, I wish you to help me.
    Thank you

  2. #2
    Registered User
    Join Date
    Nov 2006
    I think the best way to solve your problem is to use strings

    string s1;
    for(int i= 0; i<sze; i++)
    //here you compare the strings using functions already defined in the string class
    look it up vectors and strings

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    > Also I asked a lot of people and forums but no body could solve it
    Do not confuse "not able to solve it" with "perfectly capable of solving it, just not willing to give you the answer on a plate without you showing some effort".

    Which bit are you having problems with?
    - reading in a series of numbers?
    - extracting the digits from a number?
    - comparing the digits between two numbers?

    Surely you can manage some of that successfully, and at least have some kind of attempt at another part of it.

    You post what you've achieved, and we'll then help you along through the next step.
    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

Similar Threads

  1. another do while question
    By kbpsu in forum C++ Programming
    Replies: 3
    Last Post: 03-23-2009, 12:14 PM
  2. Intersting Question
    By forumuser in forum C Programming
    Replies: 2
    Last Post: 01-16-2009, 08:21 AM
  3. Question...
    By TechWins in forum A Brief History of
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  4. How do I restart a random number sequence.
    By jeffski in forum C Programming
    Replies: 6
    Last Post: 05-29-2003, 02:40 PM
  5. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM