Search results

  1. A

    Using ifstream to open multiple files

    HAHA just found it! I was returning the value inside the switch statement but wasn't returning a value of bandType at before the end of the function. So, I wasn't passing anything in the call by value. Coding is FUNSTRATING!
  2. A

    Using ifstream to open multiple files

    Hey DH! Been reading your posts for the last 8 years ;) In the posted code I have a close after the initial file open (It's a mess to read right now), however, when I had used inData.clear(); it was causing it to crash. I just changed the heading of the getBands procedure from...
  3. A

    Using ifstream to open multiple files

    I am currently working on a C++ program for school. I am actually not finding too much difficulty in constructing the functions, enum-types, arrays and structs, however, I am finding great difficulty in using on ifstream variable to open multiple files. I have posted the entire code that I...
Top