Thread: how to break a string into array of strings

  1. #31
    Banned
    Join Date
    Oct 2008
    Posts
    1,535
    Quote Originally Posted by ssharish2005 View Post
    I guess that by using sscanf function you can reduce a hell lot of code. To get this job done. But as other said you need to fix other things before youi can get to this point.

    -ssharish

    what logical error do i need to fix before i am changing to sscanf
    ?

  2. #32
    uh oh
    Join Date
    Jan 2005
    Location
    Ontario, CA
    Posts
    66
    I believe if you go back and read what all of us have suggested, probably for the first time since you asked your original question, you will answer that for yourself.

  3. #33
    Registered User
    Join Date
    Jun 2009
    Posts
    486
    trans, my first post told you exactly how to do it, all you needed to do was write the code. If you are that unwilling to help yourself, go bug someone else...

  4. #34
    Banned
    Join Date
    Oct 2008
    Posts
    1,535
    i am not going to check every char
    i want to use sscanf

    i read every post again
    and i didnt notice to a specific logical error
    can you point it out
    ??

  5. #35
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    and i didnt notice to a specific logical error
    can you point it out
    Refusing to help yourself is illogical. Therefore, I'd say that THAT'S the biggest logical error that can be pointed out in this thread.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  2. Inheritance Hierarchy for a Package class
    By twickre in forum C++ Programming
    Replies: 7
    Last Post: 12-08-2007, 04:13 PM
  3. ascii rpg help
    By aaron11193 in forum C Programming
    Replies: 18
    Last Post: 10-29-2006, 01:45 AM
  4. Something is wrong with this menu...
    By DarkViper in forum Windows Programming
    Replies: 2
    Last Post: 12-14-2002, 11:06 PM
  5. error with code
    By duffy in forum C Programming
    Replies: 8
    Last Post: 10-22-2002, 09:45 PM