delorie.com/archives/browse.cgi | search |
From: | Logan Hanks <logan AT 96mowry DOT bruske DOT alma DOT edu> |
Subject: | Input input ideas... |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
Date: | Mon, 16 Oct 1995 17:12:10 -0400 (EDT) |
I'm a little new to this sorta thing, and I'm just looking for some advice on how the best way to get input from a user would be for something sorta like a command-driven type program... I'm being somewhat ambiguous here, but I'm just looking for something that might be a bit better than the most simple while((c[i++] = getc(stdin)) != '\n')... type code. Any help would be appreciated. (;
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |