Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSeif Mohamed
398 Pointshello, how could i read the CSV Data without a file path to it , the reader needs a file path to read the data from it??
in the video the csv data where stored in a file ,and then this file path has been passed to the the stream reader constructor to read data from it and then to assign this data to the string array ,but in the exercise how could i read the csv data and assign it to the string array "values" as required ,thanks in advance
1 Answer
Steven Parker
231,269 PointsHi, I got your request to answer.
In this challenge you will be writing a parsing function which will be given the data as a string array argument. The challenge testing mechanism will be providing the data when it calls your function, and you won't need to be concerned about reading from a file.
Seif Mohamed
398 PointsSeif Mohamed
398 PointsThanks a lot ,got it