Join Dan Gookin for an in-depth discussion in this video Processing a table via standard input, part of Code Clinic: C.
- In this movie I explore the second part of my solution…to the Lake Pend Oreille problem.…That is, how to read as input a table of variable size.…There's gonna be different numbers of rows,…depending on the date.…To handle that text, I wrote a program called "crunch_data",…which eats specific output from the "fetch_data" program.…Of course, I could have just written…one big program to do everything.…By splitting the chore…between fetching and crunching, however,…I allow the user some options.…For example, the fetch_data program…could be run on a schedule,…storing information if need be.…
Then crunch_data can be used as necessary.…To fulfill the assignment, however,…both programs are run together.…With the output of fetch_data, fed as input to crunch_data.…Crunch_data is a filter.…Like any filter, it reads standard input…and generates standard output.…For this code, the input is expected to be…the specific format generated by the fetch_data program…covered in an earlier movie.…First, command line options are processed.…
Dan introduces challenges and then provides an overview of his solutions in C. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Beginner
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem Three: Eight Queens
4. Problem Four: Accessing Peripherals
5. Problem Five: Recursion and Directories
6. Problem Six: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.