Join Dan Gookin for an in-depth discussion in this video Solution overview, part of Code Clinic: C.
- This chapter's assignment caused me…more consternation than any other.…I stewed on it for far too long.…I did what any sane programmer would do.…I did anything other than programming.…I played a computer game.…I went outside.…I even talked with a girl.…These distractions proved beneficial.…By removing my mind from the details of the ordeal,…I was able to see the big picture.…Searching for a subimage is like…searching for anything.…It's a needle in a haystack problem.…You can use C to search for a string of texts…inside a large document,…and that's effectively what the solution…to this puzzle involves.…
The assignment is to compare two images.…I could do just that.…Having the code required two file names…as command line arguments.…Simple.…Another approach would be…to have a source file name specified as an argument,…and then specify a directory as the second argument.…The code would then scrub through the directory,…and compare each file in that directory to the source.…A final approach would be…to simply scan the entire directory…
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.