Join Bill Weinman for an in-depth discussion in this video Parsing the CSV file, part of Code Clinic: C++.
- The first task in this problem is to parse the CSV file.…This is the CSV file that's opened in a text editor.…And this file was provided to us…from the Dreamweaver course.…So, it's already there…and it's already in the format that it's in.…You'll notice that it has rows and columns.…So the rows are data, each on a separate line…and the columns are separated by a comma.…And in this case, each row simply has two columns.…So this is relatively simple.…You'll notice also down here at the bottom,…it's telling us about the line endings.…
It says these are classic Mac line endings…separated with a carriage return only,…a bare carriage return.…If it was UNIX line endings, this one would be highlighted…with the LF for line feed,…or if it was Windows line endings,…this would be highlighted with the Windows…carriage return line feed combination.…But this is classic Mac line endings…and so we're gonna have to deal with that as well.…Here in Xcode, I have opened my CSV.h file…from the CSV class.…
If we look over at the .cpp file,…
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.