gets

This is a discussion on gets within the C Programming forums, part of the General Programming Boards category; Hello Friends my compiler not allow me to use a space in gets() function . while reading a string in ...

  1. #1
    Unregistered
    Guest

    Exclamation gets

    Hello Friends
    my compiler not allow me to use a space in gets() function . while reading a string in the structure

  2. #2
    Registered User
    Join Date
    Oct 2001
    Posts
    197
    Try fgets().

    klausi
    When I close my eyes nobody can see me...

  3. #3
    Registered User breed's Avatar
    Join Date
    Oct 2001
    Posts
    91
    I think i had a simlar question last year, may be this will shed a little light

    http://www.cprogramming.com/cboard/showthread.php?s=&threadid=3744
    Last edited by breed; 01-09-2002 at 07:35 AM.
    Before you judge a man, walk a mile in his
    shoes. After that, who cares.. He's a mile away and you've got
    his shoes.
    ************William Connoly

Popular pages Recent additions subscribe to a feed

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