Join Dan Gookin for an in-depth discussion in this video Solution overview, part of Code Clinic: C.
The C language is old.…It's about input and output and fairly basic,…even low-level programming concepts.…Libraries can extend the C language's capabilities,…but for some tasks, it just falls short.…To put it another way,…if I were given an assignment…to create a Theramin-like program,…I'd probably write it in Java, not C.…I wasn't provided that latitude for this assignment.…Many operating systems have routines or interfaces…for accessing the mouse and speaker.…Back in the 1980's, I programmed DOS and C…and easily used the mouse.…
I could also access the speaker hardware directly.…In the spirit of this course, however,…I felt it was best to attempt a universal solution.…One that would run in a variety of environments.…My solution is Theremin.…A program that uses the…port audio library to render sound,…and the Ncurses library to read the mouse…and access the screen for interactive…full display output.…The resulting programming can run in a…Cygwin window on a PC.…Or in iTerm on the Mac…I've not been able to use the terminal program,…
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.
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?
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.