C++, Visual Studios:
so, code is working except for one bit that i will display here.it’s really starting to bug me and i’m not sure on now to fix it.please help me. thank you.
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
void validateUserName(string & _username);
void createFile(string _username);
void writeDataToFile(string _username, string _data);
void readDataFromFile(string _username, int & even, int& odd);
void checkEvenDigit(string _data, int & count);
void checkOddDigit(string _data, int & count);
void displayResults(int even, int odd);
int main()
{
string username;
string line;
int even = 0;
int odd = 0;
cout << “Enter your name and press <ENTER> “<< endl;
cin >> username;
validateUserName(username);
createFile(username);
cout << “Enter anything you want and press <ENTER>”<< endl;
cout << “To stop
PayPal Gateway not configured
PayPal Gateway not configured