Change Array to Double C++ [on hold]
I've searched around but seems like there no direct answers. I need to
change a two arrays that has let's say:
123123, 123123
897987, 8979879
564657, 56465465
545646, 89888888
897987, 98798789
454545, 546534254
657498, 564654
I need to change all of them into doubles but keep them in the same row
and use them to find top 5 lowerest and highest data.
already have the data loaded in arrays already like this, just need help
in a loop to reloop and convert the prices and prices2 of those houses in
the array to a double???????
for (int i=0;getline(file,(house[i]),',');i++)
{
getline(file, cars[i], ',');
getline(file, price[i], ',') ;
getline(file, price2[i]);
if(input == house[i])
{
for(int i=0; ) ?????<<<<<<<<<<<<<<--Help here.
}