CIS 170 (Devry) help Making Decisions/uophelp.com CIS 170 (Devry) help Making Decisions/uophelp.com | Page 33

splitCount++; //add one more to the count because there is not an ending comma //create an array to hold the fields string* theFieldArray; string[splitCount]; //split the string into seperate fields string ; int ; for(int ; i if (theLine[i] != theDeliminator) { theField += theLine[i]; //build the field } else { //the deliminator was hit so save to the field to the array theFieldArray[commaCount] = theField; //save the field to the array ; commaCount++; } }