rendered paste body#include <cstdlib>
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
void version(int a)
{
int ver=a;
cout << "weight version: " << ver <<endl;
};
void filewritez(char a)
{
string file1;
file1 = a;
// float file2 = b;
ofstream filez ( "file1" );
filez << "you weigh " << sizez << "lbs fatty." << endl;
filez.close();
};
int main()
{
version(4);
int sizez; //k i need this in filewritez()
cout << "how much do you weigh? (lbs)" <<endl;
cin >> sizez;
cout << sizez << "LBS! WOW!" << endl;
filewritez();
system("PAUSE");
return EXIT_SUCCESS;
}