#include
using std::cerr;
using std::cin;
using std::cout;
using std::endl;
using std::ios;
#include
using std::ofstream;
#include
using std::exit;
int main()
{
ofstream outClientFile( "clients.dat", ios::out );
if ( !outClientFile )
{
cerr << "File could not be opened" << endl;
exit( 1 );
}
int account = 12;
char name[80] = "This Is A Test";
double balance = 123.123;
outClientFile << account << ' ' << name << ' ' << balance << endl;
return 0;
}