Thread: C++ Array help
View Single Post
Old 04-24-2009, 01:31 AM   #1
lopaayd

Join Date
Oct 2005
Posts
511
Senior Member
Default C++ Array help
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.
lopaayd is offline


 

All times are GMT +1. The time now is 02:47 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Design & Developed by Amodity.com
Copyright© Amodity