LOGO
Reply to Thread New Thread
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



Reply to Thread New Thread

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

All times are GMT +1. The time now is 10:41 AM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity