getint()

This is a discussion on getint() within the C Programming forums, part of the General Programming Boards category; Is there such a function in C?...

  1. #1
    Unregistered
    Guest

    getint()

    Is there such a function in C?

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Not under that name.. not that I know of anyway. But you can do some work arounds, most of which are discussed on here almost daily.

    Try a board search for
    fgets
    scanf
    validate (Prelude's function to ensure a string it actually a number)

    There's quite a few threads dedicated to this subject.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. n00b tackles another problem set, needs more help :\
    By rightbrainer in forum C Programming
    Replies: 30
    Last Post: 04-18-2009, 03:37 AM
  2. Proper DLL class interfaces
    By Magos in forum C++ Programming
    Replies: 10
    Last Post: 02-24-2006, 03:41 AM
  3. How do I use this function?
    By csisz3r in forum C Programming
    Replies: 7
    Last Post: 09-25-2005, 12:05 PM
  4. Question in getint #2
    By jongmin in forum C Programming
    Replies: 5
    Last Post: 03-10-2004, 01:10 AM
  5. question in getint
    By jongmin in forum C Programming
    Replies: 2
    Last Post: 03-09-2004, 01:27 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21