TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: David Nugent
from: Frank Adam
date: 1996-01-09 06:05:04
subject: scanf()

G'Day David,

-=> Quoting David Nugent to Kieran Haughey <=-

 DN> The scanf() functions are difficult to use at best, and something
 DN> probably  best avoided by a novice user (use fgets()). They are, 
I certainly do avoid it :) 
Is there any way of aborting input in scanf() ?
I mean detecting  on an empty line.
That was the primary reason why i stopped using it.


  L8r Frank (fadam{at}ozemail.com.au)

___ Blue Wave/DOS v2.21

___ Blue Wave/DOS v2.21

---
* Origin: Melbourne PC User Group BBS (3:632/309)
SEEN-BY: 50/99 620/243 623/630 632/0 107 271 304 309 328 348 360 393 525 530
SEEN-BY: 632/552 998 999 1000 633/262 371 634/384 635/301 502 503 544 637/103
SEEN-BY: 639/252 670/301 711/401 409 410 413 430 510 808 809 932 934 712/515
SEEN-BY: 713/888 714/906 800/1 7877/2809
@PATH: 632/309 998 635/503 50/99 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.