Join Bill Weinman for an in-depth discussion in this video Solution overview, part of Code Clinic: C++.
…Pronounced Lake Pend Oreille.…The requirements for this problem are fairly straightforward.…I'd like to start with the train of thought that led me to my solution.…First, we need to get some data from a web server.…Then we perform a few simple statistical calculations,…and finally present the results as a JSON object.…In practice however, there is a number of moving parts to this.…I'll show you the details in the rest of the chapter.…But for now, here's an overview.…First, we need to get the data from the server.…
For this purpose, I wrote a simple class that opens a…socket to a web server, sends a request, and fetches the result.…Then we need to store the data.…There are a couple of reasons to do this.…First, we want to minimize the impact on the source by providing a local cache.…This way, when the same data is requested in the future, we have a local copy…so we don't need to use bandwidth and…other resources to fetch it from the server again.…Also, by using the local storage engine like SQLite,…we can more easily sort and select the data.…
Bill introduces challenges and provides an overview of his solutions in C++. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, Java, PHP, Python, and Ruby.
Skill Level Intermediate
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
Problem One: Exploring Lake Pend Oreille
Solution overview2m 51s
Problem Two: Image Analysis
Problem Three: Eight Queens
Problem Four: Accessing Peripherals
Problem Five: Recursion and Directories
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.