Join Dan Gookin for an in-depth discussion in this video Solution overview, part of Code Clinic: C.
- View Offline
- Exercise Files
- As I studied this problem, the solution became obvious:…I would create a filter.…The CSV file would supply the input;…and the filter would generate an HTML table as the output.…The resulting program, CSV to HTML,…works not only with the sample files,…but with any file formatted with comma-separated values.…The program features a help switch,…which displays the full options.…The HTML switch generates full HTML output,…which is basically the header and body tags.…
Specify the header switch when the CSV file contains…a header row.…If so, the table header tags are used for that row.…To generate the HTML table for the assignment,…you redirect input from a CSV file, such as first_semester.…The table generated uses all caps tags,…although I could fix that in the code.…The tags are indented by using tab characters.…Because this CSV file contains a header row,…you can specify the header switch.…
And I'll scroll back.…And there are the header tags in the output…for the first row of cells.…I'm going to specify the HTML switch…
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.