bass_man1989
Active Member
I have a project and it's making me wanna chuck my computer out a window. We're supposed to read in three sets of data from a file and put them into an array. The first set would be of type string, the second double, and the third int. I was put under the impression by my professor that if you declared an array as string it would fill it with string values, declared as double it would fill with only double values, and etc. The problem I'm having is the string array reads in everything and the other two won't read anything. Arrays are kicking my ass right now so any help would be appreciated. Thanks in advance.