Thread: sscanf question..

  1. #1
    Join Date
    Oct 2008

    sscanf question..

    sscanf needs to take its input from a string..
    what is the meaning of this
    how it differs from a normal scanf

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    sscanf reads from a string instead of stdin. That's meaningless, because %s%s%s isn't a defined identifier - it's meant to be in a format string. And you don't specify a source either. Did you try compiling that? If so, what did it do? Why do you think it did that? When you type "sscanf" into Google, what do you see? How can this help you?

  3. #3
    C / C++
    Join Date
    Jan 2006
    The Netherlands
    C++ Reference [C++ Reference] is nice for this kind of questions.
    Last edited by Ideswa; 04-22-2009 at 02:36 PM. Reason: linguistic correction
    Operating Systems:
    - Ubuntu 9.04
    - XP

    Compiler: gcc

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sscanf() question
    By NuNn in forum C Programming
    Replies: 7
    Last Post: 02-28-2009, 02:57 PM
  2. Problem using sscanf fgets and overflow checking
    By jou00jou in forum C Programming
    Replies: 5
    Last Post: 02-18-2008, 06:42 AM
  3. sscanf question
    By Little_Dump in forum C Programming
    Replies: 5
    Last Post: 10-27-2003, 02:16 PM
  4. Dumb Question: What is sscanf?
    By KingZoolerius66 in forum C Programming
    Replies: 3
    Last Post: 10-04-2003, 08:19 PM
  5. Question...
    By TechWins in forum A Brief History of
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM