
-----------------------------------
dropglock
Thu May 01, 2008 1:02 am

Need help with Functions Assignment from Class.
-----------------------------------
Hello everyone I am new here and I am also new to C++. I am stuck here... this is what I have done so far. Can someone tell me what I did wrong(if any) and help me complete this assignment by tomorrow? The PDF of the assignment is in the attachment. If you are going to help me please limit your suggestions to only material under using void functions, Thanks.

#include 
#include 
#include 
#include 

using namespace std;

void greeting();
void getName();

int main ()
{
	ifstream inputFile1, inputFile2;
	ofstream outputFile;

	string userInput, userInput2, data1, skip;

	cout  userInput;

	inputFile1.open(userInput.c_str());
	
	if (inputFile1.fail())
	{
		cout 