CSC 161 Schedule Readings Labs & Projects Homework Deadlines Resources

Reading Data

Two readings for today cover methods for allowing user-provided input to our programs. The first introduces scanf, a general way for reading formatted data, including strings, characters, or numbers, while the second covers some functions more specific to characters and strings alone. Each of these methods has its own particular use cases and interfaces.