Help With Program

s
Last edited on
Okay... what exactly do you need help with? We won't write the program for you, ya know. :P

-Albatross
I know I need to have a .txt file with the names, credits, and tuition cost. And have a variable for each of those. This is what I have thus fur. Now I'm very new to this, so I'm not sure if this is even correct.

#include <iostream>

#include <fstream>

#include <string>

using namespace std;

int main ();

{

int name, number_Credit_Hours;

string xyz;

ifstream inFile;

ofstream outFile;

inFile.open ("indata.txt");

outFile.open("outdata.txt");

return 0;

}
Duplicate thread, will post responses there as that's the more appropriate subforum:
http://www.cplusplus.com/forum/beginner/116042/

-Albatross
alright. Thank you so much
Topic archived. No new replies allowed.