Join Dan Gookin for an in-depth discussion in this video Building the web, part of Code Clinic: C.
- Hello and welcome to Code Clinic. My name is Dan Gookin. Code Clinic is a course where a unique problem is introduced to a collection of lynda.com authors. In response, each author creates a solution by using his programming language of choice. You can learn several things from Code Clinic; different approaches to solving a problem, the pros and cons of different languages, and some tips and tricks to incorporate into your own practices. This chapter's problem is common to anyone building a website or a report, specifically merging live data with static templates.
Data is only useful when it can effectively communicate something to someone else and to do that, data must be formatted into some sort of meaningful visual representation. Sometimes, this representation takes the form of a printed report. Most likely, it means publishing data to a webpage. In this problem, the pre-formated HTML webpage is all ready available, as are the two data files in CSV format. The task is to write code that converts the data files into a format for insertion into the webpage.
The files used are created by James Williamson in Chapter 9 of his course titled Dreamweaver CC Essential Training. James provides all the material needed for this challenge. I invite you to download the example files for this course if you would like to attempt your own solution. In the next few movies, I'll show you how I solved the challenge.
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
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S.