#include #include #include #include using namespace std; void version(int a) { int ver=a; cout << "weight version: " << ver < >::basic_ofstream(std::string&)' void filewritez(char a, int sizez) { string file1; file1 = a; // float file2 = b; ofstream filez ( file1 ); //suspect line 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)" <> sizez; cout << sizez << "LBS! WOW!" << endl; filewritez(); system("PAUSE"); return EXIT_SUCCESS; }