cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Help With Program
Help With Program
Nov 7, 2013 at 8:16pm UTC
blackmagic24
(5)
s
Last edited on
Nov 7, 2013 at 9:12pm UTC
Nov 7, 2013 at 8:17pm UTC
Albatross
(4553)
Okay... what exactly do you need help with? We won't write the program for you, ya know. :P
-Albatross
Nov 7, 2013 at 8:32pm UTC
blackmagic24
(5)
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;
}
Nov 7, 2013 at 8:42pm UTC
Albatross
(4553)
Duplicate thread, will post responses there as that's the more appropriate subforum:
http://www.cplusplus.com/forum/beginner/116042/
-Albatross
Nov 7, 2013 at 8:49pm UTC
blackmagic24
(5)
alright. Thank you so much
Topic archived. No new replies allowed.