Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Odd scanf() issue in C

  1. #11

    Re:Odd scanf() issue in C

    [quote author=Schotty link=board=9;threadid=10060;start=0#msg91282 date=1103395589]
    Thanks. Its different enough from C++ that I get stuck. Usually with scanf crap. I hate how scanf works.
    [/quote]
    You are welcome. Yeah, in my opinion, cin is often a lot better for input than scanf().

  2. #12
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,758

    Re:Odd scanf() issue in C

    I ended up finding a really good article on scanf and I was given a better way of tackling that task -- use a string instead and just reference the first element.

  3. #13

    Re:Odd scanf() issue in C

    [quote author=Schotty link=board=9;threadid=10060;start=0#msg91311 date=1103495637]
    I ended up finding a really good article on scanf and I was given a better way of tackling that task -- use a string instead and just reference the first element.
    [/quote]

    Yup, that would work as well!

Similar Threads

  1. ssh issue
    By pigpenstud01 in forum Redhat / Fedora
    Replies: 1
    Last Post: 05-02-2008, 09:42 PM
  2. Fedora 5 cd/rw mount issue
    By SpooksŪ in forum Redhat / Fedora
    Replies: 9
    Last Post: 05-23-2006, 07:22 PM
  3. Sendmail issue with queue
    By NotTom in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 05-09-2005, 09:06 PM
  4. Issue with the NIC in RedHat LINUX AS 3.0
    By suryakalidindi in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 03-23-2005, 03:21 AM
  5. Issue booting with GRUB on ReiserFS
    By jro in forum Linux - General Topics
    Replies: 7
    Last Post: 07-07-2004, 08:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •