ofBuffer buffer = ofBufferFromFile(_file);
while(!buffer.isLastLine()) {
string temp = buffer.getNextLine();
if(temp.length() != 0) {
vector<string> values = ofSplitString(temp, ",");
// ofToInt(value[0]);
// ofToFloat(value[1]);
}
}
Last active
December 27, 2015 19:39
-
-
Save patriciogonzalezvivo/7378980 to your computer and use it in GitHub Desktop.
Reading a CSV on OF
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment