-->

Bank Project || ATM Project || Pakistan Bank System in C/C++

 Bank Project || ATM Project || Pakistan Bank System in C/C++

#include <iostream>
#include <fstream>
#include <iomanip>
#include <windows.h>
using namespace std;
class sign_up
{
protected:
string name;
string pin;
string u_name;
string u_pin;
bool valid;
public:
void signin_input()
{
cin.ignore();
cout<<"Name: ";
getline(cin,name);
cout<<"Pin: ";
getline(cin,pin);
ofstream obj("User_data.text",ios::app);
obj << name << pin;
obj.close();
}
void login_input()
{
cin.ignore();
cout<<"Name: ";
getline(cin,u_name);
cout<<"Pin: ";
getline(cin,u_pin);
fstream obj("User_data.text");
while(!obj.eof())
{
obj << name << pin;
if(u_name == name)
{