You might find that sscanf() is more helpful here than strtok...Yes i do want to do this with strtok and i have been advised by my lecturer that this function should be used.
How else would i be able to seperate the data attributes in the file and process them.
sscanf - C++ Reference



2Likes
LinkBack URL
About LinkBacks




Although i probably wont learn from this method the most, it works good enough! Thanks oogabooga!