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,760

    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. Ogg to MP3 issue
    By Schotty in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 06-17-2005, 05:00 AM
  3. Setiathome Issue
    By GhostDawg in forum General Chat
    Replies: 2
    Last Post: 01-19-2004, 04:11 PM
  4. .\configure issue
    By mla in forum Linux - General Topics
    Replies: 5
    Last Post: 10-13-2003, 05:21 PM
  5. GLO IRC issue
    By babbing in forum General Chat
    Replies: 3
    Last Post: 11-14-2002, 08:52 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
  •