Hi knowledgeable C++ programmers!
I'm having problems with this program because it is giving me an error about how the file cannot read #include <ofstream>
please do take a look at the program...
// Program 16.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <string>
#include <ofstream>
#include <iostream>
using std::cout;
using std::cin;
using std::endl;
int main ( )
{
int i;
struct record
{
char name[15];
float amt;
};
record master[10] = {{"Helen", 10}, {"Julie", 20}, {"Lena", 30}, {"Alan", 40}, {"Annie", 50}, {"May", 60},
{"Lee", 70}, {"Sam", 80}, {"June", 90}, {"Bill", 100}};
record trans[7] = {{"Lena", 10}, {"Julie", 5.75}, {"Lee", 15.02}, {"Ed", 40}, {"Julie", 10.00}, {"Art", 5.00},
{"Bill", 7.32}};
ofstream foutmaster("master.dat");
ofstream fouttrans("trans.dat");
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.