Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › looking for help in C# land
New Posts  All Forums:Forum Nav:

looking for help in C# land

post #1 of 2
Thread Starter 
i know i need to read in a file and have gotten that far but am unsure how to really start this method. any suggestions would be helpful...thanks

public void ReadDataFile(StreamReader input,int seating, int rowing)
{
//There are "rows * seatsPerRow" lines in the data file.
//Each line has two values - a double that specifies the
//cost of a seat, and a character that specifies whether
//the seat has been sold (y or n).
//The ordering of the data in the file is row-wise; that is,
//the first "seatsPerRow" lines of the data file specify the
//cost and availability of the seats in row 0, the next
//"seatsPerRow" lines correspond to the seats in row 1,
//and so on.
post #2 of 2
Thread Starter 
never mind
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › looking for help in C# land