Thread: scanf?

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    8

    Question scanf?

    This questions is simple.
    What does scanf do and what header file does it include?
    Help appreciated.

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Scanf scans for formatted user input.

    It's in stdio.h

  3. #3
    Scanf(); doesn't pause the program for input, does it? I forget.

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    421
    yes it is a simple question.. so why ask for it here?? why not use a search engine and read a whole document on it??

    MSDN is a good place.. and if all else fails... www.google.com

    U.
    Quidquid latine dictum sit, altum sonatur.
    Whatever is said in Latin sounds profound.

  5. #5
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    > Scanf(); doesn't pause the program for input, does it? I forget

    Yes, it does...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. scanf() consideres useless
    By Snafuist in forum C Programming
    Replies: 15
    Last Post: 02-18-2009, 08:35 AM
  2. Help with a basic scanf procedure.
    By killpoppop in forum C Programming
    Replies: 9
    Last Post: 11-03-2008, 04:39 PM
  3. Replies: 2
    Last Post: 02-20-2005, 01:48 PM
  4. Scanf and integer...
    By penny in forum C Programming
    Replies: 3
    Last Post: 04-24-2003, 06:36 AM
  5. scanf - data is "put back" - screws up next scanf
    By voltson in forum C Programming
    Replies: 10
    Last Post: 10-14-2002, 04:34 AM