Hey guys,
I cant seem to figure this one out and I looked everywhere for it. My question is how do I read this line of text from an input file into an array
@attribute outlook {sunny, overcast, rainy}
I want to put the word outlook, sunny, overcast, and rainy into an array or just atleast into strings but without the "{" and the ",". I am writing this in c++.
Any suggestions...
Leave a comment: