input/output data

I'm currently writing a program that requires you to get data from a .txt file.I do realize that I do not have it taking anything from my inService file. I want to make sure that I am doing this right because it is not displaying properly. I did a test to make sure that it is opening the file alright and it said it opened it fine.

1
2
3
4
5
6
7
8
9
10
11
 ifstream inAccount;
    ofstream outAccount;

    ifstream inService;
    ofstream outService;

    inAccount.open("minimum_balances.txt");
    inService.open ("service_charges.txt");

   inAccount >> accountSavings >> savings;
   inAccount >> accountCheckings >> checkings;
Topic archived. No new replies allowed.