Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

sail patch

From: Aaron Bornstein <aaronb(at)j51.com>
Date: Sun Feb 16 1997 - 10:14:39 EST

gets()!@
GETS()!@

+ (void) fgets(captain, sizeof(captain), stdin); if (!*captain) (void) strcpy(captain, "no name"); } @@ -210,7 +210,7 @@ printf("\nInitial broadside %s (grape, chain, round, double): ", n ? "right" : "left");
(void) fflush(stdout);
- (void) scanf("%s", buf); + (void) fgets(buf, sizeof(buf), stdin); switch (*buf) { case 'g': load = L_GRAPE; Received on Sun Feb 16 07:14:29 1997

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:41:03 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library