The document provides information about object-oriented programming languages and concepts. It discusses source code, object code, operators, data types, input/output streams, preprocessor directives, loops, decision statements, and variables. Some key points include:
- Source code is written by programmers in a human-readable language, which is then compiled into machine-readable object code.
- Common operators include math, comparison, and logical operators. Data types include integral, floating-point, and enumeration types.
- Loops like for, while, and do-while are used for repetition. Decision statements include if-else and switch-case.
- Preprocessor directives start with # and are commands for the preprocessor
I need help to modify my code according to the instructions- Modify th.pdfpnaran46
I need help to modify my code according to the instructions:
Modify the program you created in Lab Assignment #9 (Babbage's Cabbage's, Part 3) to include
the following features:
Use parallel arrays to store the full name and gross pay of all employees entered. The size of the
arrays must be easy to change using a single symbolic constant. At the end of the program, after
all the individual employee records have been input and processed, write a summary table to the
report file listing the employees entered and their gross pay amounts. See the sample report that
follows for an example. (Your program may only store these two specific pieces of employee
data in arrays. You will not earn credit for this feature if you create additional arrays for other
pieces of employee data.)
Create individual functions for computing the sum of the gross pay amounts, the average, finding
the maximum gross pay, and the minimum gross pay. Each of these four functions can accept
only the array of gross pay amounts and number of valid data items as parameters, and cannot
depend on the array being arranged in order. Display the total, average, minimum, and maximum
of the gross pay amounts in the report file summary.
Use the optimized version of the Bubble Sort (v.3) so that the summary table of employee names
and gross pay amounts is arranged in descending order by gross pay.
Read input from a data file, rather than the user. See the sample data file that follows for an
example (note that the amount of the transportation deduction is supplied directly). You may
assume that all data provided in the file is valid. Remove all code related to keyboard input and
data validation so that the program simply reads from the data file and writes to the report file
without needing any input from the user.
Sample Report File
Submissions whose programs do not compile without errors, do not use a modular style (i.e., all
of the program code appears in the main module), or contain any of the items listed below, will
receive a grade of zero:
Global variables, Recursive module calls, vectors, structs, or classes, The line using namespace
std; Inclusion of libraries that have not been introduced as part of the class (including those that
are specific to a particular operating system), or use of their commands, Calls to the system
function
This is my code that needs to be modified:
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <ostream>
#define min_hours 10.0
#define max_hours 55.0
#define min_hourly_rate 15.00
#define max_hourly_rate 65.00
#define overtime_limit 34.0
void input_employee_data(double &hours_worked, double &hourly_wage);
void calculate_gross_pay(double &hours_worked, double &hourly_wage, double& ovt_hours,
double& reg_hours, double &gross_pay);
void calculate_net_pay(double &gross_pay, double& deduct, double &net_pay, double &taxes);
std::string input_full_name(std::string& first_name,
std::string& last_name);
std::string join_names.
The Browser Environment - A Systems Programmer's Perspective [sinatra edition]Eleanor McHugh
The document discusses using Sinatra and Ruby to build web applications that utilize asynchronous JavaScript and XMLHttpRequest (AJAX) techniques. It demonstrates how to make HTTP requests to a Sinatra backend from JavaScript using XMLHttpRequest, Fetch API promises, and DOM manipulation. Various timing functions like setInterval and setTimeout are also explored. The document contains sample code for building a basic Sinatra API and incrementally enhancing the frontend JavaScript code to retrieve and display responses asynchronously.
The document discusses WordPress shortcodes and provides examples of how to create and use them. Shortcodes allow functionality to be added via simple codes rather than complicated code. The examples demonstrate how to create basic shortcodes using add_shortcode(), make shortcodes parameterizable using shortcode_atts(), and make shortcodes more flexible by processing nested shortcodes with do_shortcode().
Lesson_07_Spring_Security_Register_NEW.pdfScott Anderson
The document provides details about the code execution path for registering a new user on the Spring Security application at URL "http://localhost:8080/register".
When a user visits the registration page, the SecureAccessController handles the request and returns the registration view. If the user submits the registration form, the controller checks if the user already exists by calling the SecureAccessHandler, which queries the database. If the user does not exist, the handler registers the new user by saving it to the database using the UserRepository and SecureUserCredentialService, then the controller returns the login page. If the user does exist, an error is displayed on the registration page.
The document provides information about object-oriented programming languages and concepts. It discusses source code, object code, operators, data types, input/output streams, preprocessor directives, loops, decision statements, and variables. Some key points include:
- Source code is written by programmers in a human-readable language, which is then compiled into machine-readable object code.
- Common operators include math, comparison, and logical operators. Data types include integral, floating-point, and enumeration types.
- Loops like for, while, and do-while are used for repetition. Decision statements include if-else and switch-case.
- Preprocessor directives start with # and are commands for the preprocessor
I need help to modify my code according to the instructions- Modify th.pdfpnaran46
I need help to modify my code according to the instructions:
Modify the program you created in Lab Assignment #9 (Babbage's Cabbage's, Part 3) to include
the following features:
Use parallel arrays to store the full name and gross pay of all employees entered. The size of the
arrays must be easy to change using a single symbolic constant. At the end of the program, after
all the individual employee records have been input and processed, write a summary table to the
report file listing the employees entered and their gross pay amounts. See the sample report that
follows for an example. (Your program may only store these two specific pieces of employee
data in arrays. You will not earn credit for this feature if you create additional arrays for other
pieces of employee data.)
Create individual functions for computing the sum of the gross pay amounts, the average, finding
the maximum gross pay, and the minimum gross pay. Each of these four functions can accept
only the array of gross pay amounts and number of valid data items as parameters, and cannot
depend on the array being arranged in order. Display the total, average, minimum, and maximum
of the gross pay amounts in the report file summary.
Use the optimized version of the Bubble Sort (v.3) so that the summary table of employee names
and gross pay amounts is arranged in descending order by gross pay.
Read input from a data file, rather than the user. See the sample data file that follows for an
example (note that the amount of the transportation deduction is supplied directly). You may
assume that all data provided in the file is valid. Remove all code related to keyboard input and
data validation so that the program simply reads from the data file and writes to the report file
without needing any input from the user.
Sample Report File
Submissions whose programs do not compile without errors, do not use a modular style (i.e., all
of the program code appears in the main module), or contain any of the items listed below, will
receive a grade of zero:
Global variables, Recursive module calls, vectors, structs, or classes, The line using namespace
std; Inclusion of libraries that have not been introduced as part of the class (including those that
are specific to a particular operating system), or use of their commands, Calls to the system
function
This is my code that needs to be modified:
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <ostream>
#define min_hours 10.0
#define max_hours 55.0
#define min_hourly_rate 15.00
#define max_hourly_rate 65.00
#define overtime_limit 34.0
void input_employee_data(double &hours_worked, double &hourly_wage);
void calculate_gross_pay(double &hours_worked, double &hourly_wage, double& ovt_hours,
double& reg_hours, double &gross_pay);
void calculate_net_pay(double &gross_pay, double& deduct, double &net_pay, double &taxes);
std::string input_full_name(std::string& first_name,
std::string& last_name);
std::string join_names.
The Browser Environment - A Systems Programmer's Perspective [sinatra edition]Eleanor McHugh
The document discusses using Sinatra and Ruby to build web applications that utilize asynchronous JavaScript and XMLHttpRequest (AJAX) techniques. It demonstrates how to make HTTP requests to a Sinatra backend from JavaScript using XMLHttpRequest, Fetch API promises, and DOM manipulation. Various timing functions like setInterval and setTimeout are also explored. The document contains sample code for building a basic Sinatra API and incrementally enhancing the frontend JavaScript code to retrieve and display responses asynchronously.
The document discusses WordPress shortcodes and provides examples of how to create and use them. Shortcodes allow functionality to be added via simple codes rather than complicated code. The examples demonstrate how to create basic shortcodes using add_shortcode(), make shortcodes parameterizable using shortcode_atts(), and make shortcodes more flexible by processing nested shortcodes with do_shortcode().
Lesson_07_Spring_Security_Register_NEW.pdfScott Anderson
The document provides details about the code execution path for registering a new user on the Spring Security application at URL "http://localhost:8080/register".
When a user visits the registration page, the SecureAccessController handles the request and returns the registration view. If the user submits the registration form, the controller checks if the user already exists by calling the SecureAccessHandler, which queries the database. If the user does not exist, the handler registers the new user by saving it to the database using the UserRepository and SecureUserCredentialService, then the controller returns the login page. If the user does exist, an error is displayed on the registration page.
This document provides a summary of Han Janghyun's background and experience. It includes:
1. Han Janghyun previously worked as a senior developer at Samsung SDS and has experience implementing TV platform JavaScript applications and retail solution servers and frontends.
2. He now works as a freelance developer and operates the blog han41858.tistory.com. He is also writing a translation of the book Angular 2.
3. Han Janghyun is also involved in operating GDG Korea Web Tech.
This document contains the code for a C++ program that implements a railway reservation system. It includes classes for user login, train details, reservations, and cancellations. Methods are defined to get and display details, make reservations by writing to a reservations file, display reservation details, and cancel reservations with refund amounts calculated based on timing. The main function provides an admin menu to manage the train details database and a user menu to reserve tickets or view details.
The document discusses functions in C++. It covers function prototypes, definitions, parameters, return types, and passing arguments to functions. Examples are provided of defining, declaring, calling functions, and common errors like missing return types or incorrect parameter types. Predefined functions from headers like sqrt() from cmath and rand() from cstdlib are also demonstrated.
A tutorial on how the process of writing an application using a browser’s WebAuthn API, plus how to install a server, how to generate authentication challenges & responses, and how to integrate with related IAM infrastructure.
Code: https://github.com/fido-alliance/webauthn-demo
Live slides: http://slides.com/herrjemand/jan-2018-fido-seminar-webauthn-tutorial#/
This document provides instructions for setting up user authentication for a Rails application using Devise and OAuth with Facebook. It includes steps for installing Devise, generating a User model, configuring routes and callbacks, setting up the Facebook application, and connecting a user's Facebook account to authenticate and sign in.
The document discusses object oriented programming concepts in C++. It contains 4 questions with solutions. Question 1 defines a BankAccount class with data members like name, account number etc. and member functions to assign values, deposit, withdraw amounts. Question 2 overloads the increment operator ++. Question 3 overloads the > operator to find greater of two class instances. Question 4 demonstrates single and multiple inheritance - single inheritance defines a PhysicalFit class derived from BasicInfo class, multiple inheritance defines a DerivedD class derived from 3 base classes.
2016년 12월에 진행되었던 W3C HTML5 Conference 2016의 오후 트렉 (웹프레임워크)의 발표 자료입니다.
GDG Korea Web Tech 운영진이신 한장현 님께서 ‘AngularJS와 ES6’에 대한 주제로 발표를 진행하였습니다. 이 발표를 통해서 Angular와ES6를 함께 사용하기 위해 필요한 구체적인 내용들을 공유하였습니다. Angular를 현재 사용하시는 분들께 많은 도움이 되는 시간이었던 것 같습니다.
The document provides biographical information about Janghyun Han in Korean. It includes his email address, blog, work experience at SamsungSDS developing TV and retail solutions, current work as a freelance developer, book he is writing translating Angular 2, and involvement with GDG Korea Web Tech.
This document provides an overview of authentication and security configurations and functions in Laravel. It discusses setting an encryption key in the app.php file, authentication settings in the auth.php file, password hashing with the Hash class, authentication attempts with Auth, remembering logins with cookies, accessing the logged in user, logging out, and password resets using Laravel's built-in functionality. Functions like Hash, Auth, Crypt and Password are covered, along with creating authentication and password reset views.
The document provides an overview of a NodeJS CRUD and deployment course. The course outline includes: setting up a NodeJS environment on SmartOS with MySQL and Git in 3 minutes; tools for cloud development like SSH, SCP, and Git; building a simple web server with authorization using Passport and CRUD functionality with MySQL; and advanced topics like load balancing for cloud services. The course also provides a Micloud server for hands-on labs and sample projects.
“Program to an interface, not an implementation” they[1] say …
But when IMyInterface foo = new IMyInterface() is not valid code … how are you supposed to achieve that ? The answer is Dependency Injection.
In this talk, we’ll talk about Dependency injection, what it is and what it is not. We’ll see how it is a valuable set of practices and patterns that help design maintainable software built on top of the SOLID object-oriented principles.
We’ll see how, when used properly, it delivers many benefits such as extensibility and testability … We’ll also cover some anti-patterns, ways of using Dependency Injection that can lead to code that is painful to understand and maintain
This talk is not about DI/IOC containers per se, but focuses on the core concepts of Dependency Injection. Those concepts are essential to understand how to use those “magic-looking” tools (if they are needed at all …)
This talk is not only for .NET developers. It will contain code examples written in C#, but should be understandable by developers with knowledge in other statically-typed object-oriented languages such as Java, Vb.NET, C++ …
Python from zero to hero (Twitter Explorer)Yuriy Senko
This document outlines steps to build a Twitter explorer application using Python and Flask. It begins with setting up the virtual environment and cloning the GitHub repository. It then walks through steps to add basic functionality like configuration, templates, a database with SQLAlchemy ORM, user authentication with Flask plugins, and finally integrating the Twitter API. Each step includes changes to files, dependencies in requirements.txt, and commands to test and view progress. The goal is to create a full-stack web application to explore tweets from the Twitter API.
The document discusses developing plugins for the MySQL INFORMATION_SCHEMA by creating custom tables. It provides steps to create a simple "Hello World" plugin that defines a table with two columns and fills it with sample data. The document also describes how to build and install the plugin so it can be queried from INFORMATION_SCHEMA like a regular table.
Having issues with passing my values through different functions aft.pdfrajkumarm401
The document describes creating an EmployeeRecord class to store employee data including ID, name, department, and salary. It includes the class definition with private member variables and public getter/setter functions. The main() function demonstrates creating an EmployeeRecord object, passing values to the constructor, and calling printRecord() to output the data. Issues were encountered passing values through functions after construction. The solution comments out incorrect nulling of string pointers in the constructor, fixes the getter/setter functions to properly copy between members and parameters, and changes the salary input in main to not use a pointer.
This document provides an overview and code snippets for a PHP login system with admin features. It includes 3 sentences:
The login system allows for user registration and authentication, includes admin features to manage users, and is designed with security, flexibility and usability in mind through features like form validation, user levels and account management. The document shares the code for key files like constants, database functions, and explains the design and interaction of the system components. Code snippets are provided to demonstrate functions for user registration, authentication, updating user details, and other core features.
Alfredo PUMEX provides a pluggable mechanism for customizing the SugarCRM Users module without modifying core files. It uses jQuery and Alfredo Patch to dynamically extend the Users module functionality. Extension modules simply provide template and PHP files that are loaded via globbing. This allows customizing detail and edit views, and intercepting save actions to handle custom fields. The document provides an example of refactoring the YAAI module to use this approach instead of overwriting core files.
This document describes how to use Alfredo PUMEX to add pluggable customizations to the SugarCRM Users module without modifying core files. PUMEX uses jQuery to dynamically extend the Users module functionality. It includes JavaScript files that insert custom HTML into detail and edit views via AJAX calls. Server-side PHP scripts then render additional Smarty templates containing custom fields and handle saving custom field data. This allows customizing the Users module in a modular way without patching SugarCRM core files.
Alfredo PUMEX provides a pluggable extension mechanism for customizing the SugarCRM Users module without modifying core files. It makes extensive use of jQuery and Alfredo Patch to dynamically extend the Users module functionality. Template files and JavaScript are used to augment views, while a globbing mechanism loads custom PHP scripts on relevant actions. This allows per-user customizations to be added in a modular way without touching the original Users code. The document provides an example of refactoring the YAAI module to use this approach instead of overwriting core files.
This document provides a summary of Han Janghyun's background and experience. It includes:
1. Han Janghyun previously worked as a senior developer at Samsung SDS and has experience implementing TV platform JavaScript applications and retail solution servers and frontends.
2. He now works as a freelance developer and operates the blog han41858.tistory.com. He is also writing a translation of the book Angular 2.
3. Han Janghyun is also involved in operating GDG Korea Web Tech.
This document contains the code for a C++ program that implements a railway reservation system. It includes classes for user login, train details, reservations, and cancellations. Methods are defined to get and display details, make reservations by writing to a reservations file, display reservation details, and cancel reservations with refund amounts calculated based on timing. The main function provides an admin menu to manage the train details database and a user menu to reserve tickets or view details.
The document discusses functions in C++. It covers function prototypes, definitions, parameters, return types, and passing arguments to functions. Examples are provided of defining, declaring, calling functions, and common errors like missing return types or incorrect parameter types. Predefined functions from headers like sqrt() from cmath and rand() from cstdlib are also demonstrated.
A tutorial on how the process of writing an application using a browser’s WebAuthn API, plus how to install a server, how to generate authentication challenges & responses, and how to integrate with related IAM infrastructure.
Code: https://github.com/fido-alliance/webauthn-demo
Live slides: http://slides.com/herrjemand/jan-2018-fido-seminar-webauthn-tutorial#/
This document provides instructions for setting up user authentication for a Rails application using Devise and OAuth with Facebook. It includes steps for installing Devise, generating a User model, configuring routes and callbacks, setting up the Facebook application, and connecting a user's Facebook account to authenticate and sign in.
The document discusses object oriented programming concepts in C++. It contains 4 questions with solutions. Question 1 defines a BankAccount class with data members like name, account number etc. and member functions to assign values, deposit, withdraw amounts. Question 2 overloads the increment operator ++. Question 3 overloads the > operator to find greater of two class instances. Question 4 demonstrates single and multiple inheritance - single inheritance defines a PhysicalFit class derived from BasicInfo class, multiple inheritance defines a DerivedD class derived from 3 base classes.
2016년 12월에 진행되었던 W3C HTML5 Conference 2016의 오후 트렉 (웹프레임워크)의 발표 자료입니다.
GDG Korea Web Tech 운영진이신 한장현 님께서 ‘AngularJS와 ES6’에 대한 주제로 발표를 진행하였습니다. 이 발표를 통해서 Angular와ES6를 함께 사용하기 위해 필요한 구체적인 내용들을 공유하였습니다. Angular를 현재 사용하시는 분들께 많은 도움이 되는 시간이었던 것 같습니다.
The document provides biographical information about Janghyun Han in Korean. It includes his email address, blog, work experience at SamsungSDS developing TV and retail solutions, current work as a freelance developer, book he is writing translating Angular 2, and involvement with GDG Korea Web Tech.
This document provides an overview of authentication and security configurations and functions in Laravel. It discusses setting an encryption key in the app.php file, authentication settings in the auth.php file, password hashing with the Hash class, authentication attempts with Auth, remembering logins with cookies, accessing the logged in user, logging out, and password resets using Laravel's built-in functionality. Functions like Hash, Auth, Crypt and Password are covered, along with creating authentication and password reset views.
The document provides an overview of a NodeJS CRUD and deployment course. The course outline includes: setting up a NodeJS environment on SmartOS with MySQL and Git in 3 minutes; tools for cloud development like SSH, SCP, and Git; building a simple web server with authorization using Passport and CRUD functionality with MySQL; and advanced topics like load balancing for cloud services. The course also provides a Micloud server for hands-on labs and sample projects.
“Program to an interface, not an implementation” they[1] say …
But when IMyInterface foo = new IMyInterface() is not valid code … how are you supposed to achieve that ? The answer is Dependency Injection.
In this talk, we’ll talk about Dependency injection, what it is and what it is not. We’ll see how it is a valuable set of practices and patterns that help design maintainable software built on top of the SOLID object-oriented principles.
We’ll see how, when used properly, it delivers many benefits such as extensibility and testability … We’ll also cover some anti-patterns, ways of using Dependency Injection that can lead to code that is painful to understand and maintain
This talk is not about DI/IOC containers per se, but focuses on the core concepts of Dependency Injection. Those concepts are essential to understand how to use those “magic-looking” tools (if they are needed at all …)
This talk is not only for .NET developers. It will contain code examples written in C#, but should be understandable by developers with knowledge in other statically-typed object-oriented languages such as Java, Vb.NET, C++ …
Python from zero to hero (Twitter Explorer)Yuriy Senko
This document outlines steps to build a Twitter explorer application using Python and Flask. It begins with setting up the virtual environment and cloning the GitHub repository. It then walks through steps to add basic functionality like configuration, templates, a database with SQLAlchemy ORM, user authentication with Flask plugins, and finally integrating the Twitter API. Each step includes changes to files, dependencies in requirements.txt, and commands to test and view progress. The goal is to create a full-stack web application to explore tweets from the Twitter API.
The document discusses developing plugins for the MySQL INFORMATION_SCHEMA by creating custom tables. It provides steps to create a simple "Hello World" plugin that defines a table with two columns and fills it with sample data. The document also describes how to build and install the plugin so it can be queried from INFORMATION_SCHEMA like a regular table.
Having issues with passing my values through different functions aft.pdfrajkumarm401
The document describes creating an EmployeeRecord class to store employee data including ID, name, department, and salary. It includes the class definition with private member variables and public getter/setter functions. The main() function demonstrates creating an EmployeeRecord object, passing values to the constructor, and calling printRecord() to output the data. Issues were encountered passing values through functions after construction. The solution comments out incorrect nulling of string pointers in the constructor, fixes the getter/setter functions to properly copy between members and parameters, and changes the salary input in main to not use a pointer.
This document provides an overview and code snippets for a PHP login system with admin features. It includes 3 sentences:
The login system allows for user registration and authentication, includes admin features to manage users, and is designed with security, flexibility and usability in mind through features like form validation, user levels and account management. The document shares the code for key files like constants, database functions, and explains the design and interaction of the system components. Code snippets are provided to demonstrate functions for user registration, authentication, updating user details, and other core features.
Alfredo PUMEX provides a pluggable mechanism for customizing the SugarCRM Users module without modifying core files. It uses jQuery and Alfredo Patch to dynamically extend the Users module functionality. Extension modules simply provide template and PHP files that are loaded via globbing. This allows customizing detail and edit views, and intercepting save actions to handle custom fields. The document provides an example of refactoring the YAAI module to use this approach instead of overwriting core files.
This document describes how to use Alfredo PUMEX to add pluggable customizations to the SugarCRM Users module without modifying core files. PUMEX uses jQuery to dynamically extend the Users module functionality. It includes JavaScript files that insert custom HTML into detail and edit views via AJAX calls. Server-side PHP scripts then render additional Smarty templates containing custom fields and handle saving custom field data. This allows customizing the Users module in a modular way without patching SugarCRM core files.
Alfredo PUMEX provides a pluggable extension mechanism for customizing the SugarCRM Users module without modifying core files. It makes extensive use of jQuery and Alfredo Patch to dynamically extend the Users module functionality. Template files and JavaScript are used to augment views, while a globbing mechanism loads custom PHP scripts on relevant actions. This allows per-user customizations to be added in a modular way without touching the original Users code. The document provides an example of refactoring the YAAI module to use this approach instead of overwriting core files.
Similar to User.DS_Store__MACOSXUser._.DS_Store__MACOSXUser._D.docx (20)
This chapter discusses the political context in which public administrators operate. It focuses on three themes: 1) the structure of the three levels of government and their relationship to public administration, 2) the legislative branch's role in the policy process and oversight of agencies, and 3) the judiciary's role in reviewing agency actions and interpreting laws. The chapter examines the executive, legislative, and judicial branches at the federal, state, and local levels to help administrators understand their political environment.
The document discusses decision structures and Boolean logic in Python. It covers if, if-else, and if-elif-else statements for controlling program flow based on conditional logic. Relational and logical operators are explained for creating Boolean expressions to evaluate conditions. The chapter also discusses comparing strings, nested conditional structures, Boolean variables, and using conditional logic to determine turtle graphics properties and state in Python.
1. The document provides financial information for Berkshire Instruments and Harrod's Sporting Goods to calculate key ratios and determine the cost of capital. For Berkshire Instruments, the vice president is determining the weighted average cost of capital using different capital structure assumptions. For Harrod's, the CFO is analyzing the company's financial ratios to negotiate loan terms with their bank.
2. The document contains income statements, balance sheets, and industry ratios for both companies over multiple years. It provides instructions to calculate profitability, asset utilization, and other ratios and compare to industry benchmarks. The goal is to evaluate financial performance and negotiating positions.
3. Key information includes capital structures, bond yields, dividend payouts, tax
This presentation includes basic of PCOS their pathology and treatment and also Ayurveda correlation of PCOS and Ayurvedic line of treatment mentioned in classics.
Executive Directors Chat Leveraging AI for Diversity, Equity, and InclusionTechSoup
Let’s explore the intersection of technology and equity in the final session of our DEI series. Discover how AI tools, like ChatGPT, can be used to support and enhance your nonprofit's DEI initiatives. Participants will gain insights into practical AI applications and get tips for leveraging technology to advance their DEI goals.
The simplified electron and muon model, Oscillating Spacetime: The Foundation...RitikBhardwaj56
Discover the Simplified Electron and Muon Model: A New Wave-Based Approach to Understanding Particles delves into a groundbreaking theory that presents electrons and muons as rotating soliton waves within oscillating spacetime. Geared towards students, researchers, and science buffs, this book breaks down complex ideas into simple explanations. It covers topics such as electron waves, temporal dynamics, and the implications of this model on particle physics. With clear illustrations and easy-to-follow explanations, readers will gain a new outlook on the universe's fundamental nature.
How to Setup Warehouse & Location in Odoo 17 InventoryCeline George
In this slide, we'll explore how to set up warehouses and locations in Odoo 17 Inventory. This will help us manage our stock effectively, track inventory levels, and streamline warehouse operations.
Main Java[All of the Base Concepts}.docxadhitya5119
This is part 1 of my Java Learning Journey. This Contains Custom methods, classes, constructors, packages, multithreading , try- catch block, finally block and more.
How to Build a Module in Odoo 17 Using the Scaffold MethodCeline George
Odoo provides an option for creating a module by using a single line command. By using this command the user can make a whole structure of a module. It is very easy for a beginner to make a module. There is no need to make each file manually. This slide will show how to create a module using the scaffold method.
How to Add Chatter in the odoo 17 ERP ModuleCeline George
In Odoo, the chatter is like a chat tool that helps you work together on records. You can leave notes and track things, making it easier to talk with your team and partners. Inside chatter, all communication history, activity, and changes will be displayed.
A review of the growth of the Israel Genealogy Research Association Database Collection for the last 12 months. Our collection is now passed the 3 million mark and still growing. See which archives have contributed the most. See the different types of records we have, and which years have had records added. You can also see what we have for the future.
2. Admin::Admin(int u, int p)
{
setUsername(u);
setPassword(p);
}
void Admin::setUsername(int u)
{ username = u;}
int Admin::getUsername() const
{ return username;}
void Admin::setPassword(int pass)
{
password = pass;}
int Admin::getPassword() const
3. {
return password;}
void Admin::add(fstream add)
{
string ln;
string fn;
float b;
int pin;
int accountNum;
User user;
add.seekg(0);
for(int i = 0; i < 200; i++)
{
add.read(reinterpret_cast< char * >(&user),sizeof(User));
if(user.getaccountNb() == 0)
{
accountNum = i;//the account number for the user to put if he
wants to ddo any task
4. break;
}
}
cout<<"Please Enter your Informattion"<<endl;
cout<<"Enter your First Name "<<endl;
cin>>setw(10)>>fn;
cout<<"Enter your Last Name "<<endl;
cin>>setw(15)>>ln;
cout<<"Enter your pin "<<endl;
cin>>pin;
cout<<"Enter your Balance "<<endl;
cin>>b;
user.setLastName(ln);
5. user.setFirstName(fn);
user.setBalance(b);
user.setPin(pin);
add.seekp((accountNum - 1) * sizeof(User));
add.write(reinterpret_cast<char *>(&user), sizeof(User));
cout<<"You Acoount is created Now "<<endl;
cout<<"your account number is: "<<accountNum<<endl;
}
int Admin::login(fstream log)
{
int usern, pass;
cout<<"The Username is : "<<endl;
cin>>usern;
7. }
void Admin::delet(fstream d)
{
int accountNumber = AccountNb();
User user;
d.seekg((accountNumber - 1) * sizeof(User));
d.read(reinterpret_cast< char * >(&user), sizeof(User));
if(user.getaccountNb() == 0)
cout<<"Account number "<<accountNumber<<" didn't
match"<<endl;
else
{
char deside;
cout<<"Your Account is there .Do you want to delete it? Press
Y to yes, N to No ";
8. cin>>deside;
if(deside == 'Y' || deside == 'y')
{
User emptyUser;
d.seekp((accountNumber - 1) * sizeof(User));
d.write(reinterpret_cast< const char * >(&emptyUser),
sizeof(User));//to go inside the file and put an empty account
cout<<"Your Acoount has been deleted "<<endl;
}
}
}
void Admin::display(fstream show)
{
int accountNumber = AccountNb();
User user;
show.seekg((accountNumber - 1) * sizeof(User));
show.read(reinterpret_cast< char * >(&user), sizeof(User));
9. if(user.getaccountNb() == 0)
cout<<"Account number "<<accountNumber<<" didn't match
,"<<endl;
else
{
cout<<left<<setw(10)<<"account"<<setw(16)<<"Last Name"
<<setw(11)<<"First
Name"<<right<<setw(10)<<"Balance"<<endl;
cout<<left<<setw(10)<<user.getaccountNb()<<setw(16)<<user.
getLastName()
<<setw(11)<<user.getFirstName()<<right<<setw(10)<<user.get
Balance()<<endl;
}
}
int Admin::AccountNb()
{
int accountNumber;
10. do
{
cout<<"Enter account number ";
cin>>accountNumber;
} while(accountNumber < 1 || accountNumber > 200);
return accountNumber;
}
__MACOSX/User/User/._Admin.cpp
User/User/Admin.h
#include "User.h"
#include "Atm.h"
#include <string>
using namespace std;
class Admin
11. {
private:
int username;
int password;
public:
Admin(int = 0, int = 0);
void setUsername(int);
void setPassword(int);
int getUsername() const;
int getPassword() const;
void add(fstream );
void delet(fstream );
void display(fstream );
int login(fstream );
int AccountNb();
15. int Atm::getNotes1()
{
return notes1;
}
void Atm::checknotes()
{
cout<<"ATM Notes:"<<endl;
cout<<"The ATM has a "<<getNotes1()<<"Notes"<<endl;
cout<<"The ATM has a "<<getNotes2()<<"Notes"<<endl;
cout<<"The ATM has a "<<getNotes3()<<"Notes"<<endl;
}
void Atm::addnotes()
16. {
int n5 ,n10,n20;
cout<<"Enter the adding currency notes to the ATM from 5 to
20 KD"<<endl;
cin>>n5>>n10>> n20;
setNotes1(getNotes1()+n5);
setNotes2(getNotes1()+n10);
setNotes3(getNotes1()+n20);
}
__MACOSX/User/User/._Atm.cpp
User/User/Atm.h
class Atm
{
private:
17. int notes1;
int notes2;
int notes3;
public:
Atm(int = 0, int = 0, int = 0);
void setNotes1(int );
void setNotes2(int );
void setNotes3(int );
int getNotes1() ;
int getNotes2() ;
int getNotes3() ;
void checknotes();
void addnotes();
};
__MACOSX/User/User/._Atm.h
User/User/ATMMain.cpp
18. #include "User.h"
#include "Atm.h"
#include "Admin.h"
#include<iostream>
#include<fstream>
#include<iomanip>
#include<cstdlib>
#include<string>
#include<string>
using namespace std;
int welcomemessage();
int choicesAdmin();
int menu();
int getAccount();
int main()
{
Admin admin;
19. User u;
int accountNumber;
Atm ATM;
fstream atmFile("ATM.dat",ios::in | ios::out | ios::binary);//file
for atm
atmFile.seekg(0);
atmFile.read(reinterpret_cast<char *>(&ATM), sizeof(ATM));
ATM.checknotes();
fstream inOutAdmins("admins.dat",ios::in | ios::out |
ios::binary);//file for admin
if(!inOutAdmins)
{
cerr<<"File could not be created"<<endl;
exit(EXIT_FAILURE);
23. }
else
cerr<<"Wrong pin number"<<endl;
}
else
cout<<" The account number you put
"<<accountNumber<<"didn't match "<<endl;
break;
case 2://ADMIN
if(admin.login(inOutAdmins))
{
int adminChoice = 0;
while(adminChoice != 6)
{
adminChoice = adminMenu();
switch(adminChoice)
{
case 1://Chck ATM notes
ATM.checknotes();
24. break;
case 2://Add notes to ATM
ATM.addnotes();
break;
case 3://Creat new user Account
admin.add(inOutCredit);
break;
case 4://Delete user Account
admin.delet(inOutCredit);
break;
case 5://Display any User account information
admin.display(inOutCredit);
break;
}//Switch admin
25. }//while
}//if
else
cerr<<"Wrong username or password"<<endl;
break;
}//Switch
}//While
atmFile.seekg(0);
atmFile.write(reinterpret_cast<char *>(&ATM), sizeof(ATM));
system("pause");
return 0;
}
int welcomeScreen()
{
int menueChoice;
26. do{
cout<<"nEnter your choice"<<endl
<<"1- User select/login."<<endl
<<"2- Admin login."<<endl
<<"3- Close the system.n?";
cin>>menueChoice;
}while(menueChoice < 1 || menueChoice > 3);
return menueChoice;
}
int transactionMenu()
{
int menueChoice;
do
{
cout<<"nEnter your choice"<<endl
27. <<"1- Deposit"<<endl
<<"2- Withdrawal"<<endl
<<"3- Balance Inquiry"<<endl
<<"4- Transfer"<<endl
<<"5- Logoutn?";
cin>>menueChoice;
}while(menueChoice < 1 || menueChoice > 5);
return menueChoice;
}
int adminMenu()
{
int menueChoice;
do{
cout<<"nEnter your choice"<<endl
<<"1- Check all bank notes in the ATM"<<endl
<<"2- Add currency notes of any kind(20KD, 10KD, 5KD) to
the ATM"<<endl
28. <<"3- Creat user account"<<endl
<<"4- Delete user account"<<endl
<<"5- Display any User account information"<<endl
<<"6- Logoutn?";
cin>>menueChoice;
}while(menueChoice < 1 || menueChoice > 6);
return menueChoice;
}
int getAccount()
{
int accountNumber;
do
{
cout<<"Enter account number (1 - 100): ";
cin>>accountNumber;
31. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCNUM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECLIMITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEYVALS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTDEFS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESAL.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECODEANALYSISSOURCEANNOTATION
S.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEVADEFS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEUSE_ANSI.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELIMITS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECMATH
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEMATH.H
32. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDIO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDIO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESWPRINTF.INL
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDLIB
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDLIB.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTREAMBUF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXIOSBASE
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCALE
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTRING.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDEXCEPT
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEEXCEPTION
33. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXSTDDEF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDDEF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDDEF.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEEH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEMALLOC.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXSTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXMEMORY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDENEW
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXUTILITY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEUTILITY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOSFWD
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECWCHAR
34. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEWCHAR.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEWTIME.INL
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTDBG.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETYPE_TRAITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELIMITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEYMATH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECFLOAT
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEFLOAT.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTWRN.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXTR1COMMON
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXFWRAP
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXFWRAP1
35. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXXTYPE_TRAITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETYPEINFO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCINFO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCINFO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECTYPE.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELOCALE.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXDEBUG
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESYSTEM_ERROR
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECERRNO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEERRNO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESHARE.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEFSTREAM
36. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOMANIP
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCMON
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCTIME
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECTIME
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETIME.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETIME.INL
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERUSER.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTRING
^C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERATMMAIN.CPP
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERUSER.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEISTREAM
37. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEOSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCNUM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECLIMITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEYVALS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTDEFS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESAL.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECODEANALYSISSOURCEANNOTATION
S.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEVADEFS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEUSE_ANSI.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELIMITS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
38. 10.0VCINCLUDECMATH
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEMATH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDIO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDIO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESWPRINTF.INL
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDLIB
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDLIB.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTREAMBUF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXIOSBASE
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCALE
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTRING.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
39. 10.0VCINCLUDESTDEXCEPT
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEEXCEPTION
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXSTDDEF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDDEF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDDEF.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEEH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEMALLOC.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXSTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXMEMORY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDENEW
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXUTILITY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEUTILITY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
40. 10.0VCINCLUDEIOSFWD
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECWCHAR
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEWCHAR.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEWTIME.INL
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTDBG.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETYPE_TRAITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELIMITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEYMATH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECFLOAT
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEFLOAT.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTWRN.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXTR1COMMON
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
41. 10.0VCINCLUDEXFWRAP
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXFWRAP1
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXXTYPE_TRAITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETYPEINFO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCINFO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCINFO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECTYPE.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELOCALE.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXDEBUG
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESYSTEM_ERROR
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECERRNO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEERRNO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
42. 10.0VCINCLUDESHARE.H
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERATM.H
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERADMIN.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEFSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOMANIP
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCMON
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCTIME
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECTIME
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETIME.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETIME.INL
^C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERATM.CPP
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
43. 2010PROJECTSUSERUSERATM.H
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERUSER.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEISTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEOSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCNUM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECLIMITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEYVALS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTDEFS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESAL.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECODEANALYSISSOURCEANNOTATION
S.H
44. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEVADEFS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEUSE_ANSI.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELIMITS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECMATH
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEMATH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDIO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDIO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESWPRINTF.INL
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDLIB
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDLIB.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTREAMBUF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXIOSBASE
45. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCALE
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTRING.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDEXCEPT
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEEXCEPTION
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXSTDDEF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDDEF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDDEF.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEEH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEMALLOC.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXSTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXMEMORY
46. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDENEW
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXUTILITY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEUTILITY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOSFWD
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECWCHAR
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEWCHAR.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEWTIME.INL
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTDBG.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETYPE_TRAITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELIMITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEYMATH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECFLOAT
47. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEFLOAT.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTWRN.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXTR1COMMON
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXFWRAP
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXFWRAP1
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXXTYPE_TRAITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETYPEINFO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCINFO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCINFO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECTYPE.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELOCALE.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXDEBUG
48. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESYSTEM_ERROR
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECERRNO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEERRNO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESHARE.H
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERADMIN.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEFSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOMANIP
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCMON
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCTIME
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECTIME
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETIME.H
49. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETIME.INL
^C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERADMIN.CPP
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERADMIN.H
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERUSER.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEISTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEOSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCNUM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECLIMITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEYVALS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTDEFS.H
50. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESAL.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECODEANALYSISSOURCEANNOTATION
S.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEVADEFS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEUSE_ANSI.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELIMITS.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECMATH
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEMATH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDIO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDIO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESWPRINTF.INL
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDLIB
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDLIB.H
51. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTREAMBUF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXIOSBASE
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCALE
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTRING.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDEXCEPT
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEEXCEPTION
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXSTDDEF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECSTDDEF
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESTDDEF.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEEH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEMALLOC.H
52. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXSTRING
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXMEMORY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDENEW
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXUTILITY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEUTILITY
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOSFWD
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECWCHAR
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEWCHAR.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEWTIME.INL
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTDBG.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETYPE_TRAITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELIMITS
53. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEYMATH.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECFLOAT
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEFLOAT.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECRTWRN.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXTR1COMMON
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXFWRAP
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXFWRAP1
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXXTYPE_TRAITS
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETYPEINFO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCINFO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCINFO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECTYPE.H
54. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDELOCALE.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXDEBUG
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESYSTEM_ERROR
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECERRNO
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEERRNO.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDESHARE.H
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERATM.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEFSTREAM
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEIOMANIP
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCMON
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDEXLOCTIME
55. C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDECTIME
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETIME.H
C:PROGRAM FILESMICROSOFT VISUAL STUDIO
10.0VCINCLUDETIME.INL
__MACOSX/User/User/Debug/._CL.read.1.tlog
User/User/Debug/CL.write.1.tlog
^C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERADMIN.CPP|C:USERSEKHLA
SDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERATM.CPP|C:USERSEKHLAS
DOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERATMMAIN.CPP|C:USERSEKH
LASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERUSER.CPP
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERDEBUGUSER.OBJ
^C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERADMIN.CPP
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERDEBUGVC100.PDB
^C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERATM.CPP
56. C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERDEBUGVC100.PDB
^C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERATMMAIN.CPP
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERDEBUGVC100.PDB
^C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERUSER.CPP
C:USERSEKHLASDOCUMENTSVISUAL STUDIO
2010PROJECTSUSERUSERDEBUGVC100.PDB
__MACOSX/User/User/Debug/._CL.write.1.tlog
User/User/Debug/User.lastbuildstate
#v4.0:v100
Debug|Win32|C:UsersEkhlasDocumentsVisual Studio
2010ProjectsUser|
__MACOSX/User/User/Debug/._User.lastbuildstate
User/User/Debug/User.log
Build started 04/01/2014 08:38:51 م.
Project "C:UsersEkhlasDocumentsVisual Studio
2010ProjectsUserUserUser.vcxproj" on node 2 (build
target(s)).
57. PrepareForBuild:
Creating directory "C:UsersEkhlasDocumentsVisual Studio
2010ProjectsUserDebug".
InitializeBuildStatus:
Creating "DebugUser.unsuccessfulbuild" because
"AlwaysCreate" was specified.
ClCompile:
C:Program FilesMicrosoft Visual Studio 10.0VCbinCL.exe
/c /ZI /nologo /W3 /WX- /Od /Oy- /D _MBCS /Gm /EHsc
/RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"Debug" /Fd"Debugvc100.pdb" /Gd /TP /analyze-
/errorReport:prompt Admin.cpp Atm.cpp ATMMain.cpp
User.cpp
User.cpp
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.cpp(34): warning C4996:
'std::basic_string<_Elem,_Traits,_Ax>::copy': Function call
with parameters that may be unsafe - this call relies on the
caller to check that the passed values are correct. To disable
this warning, use -D_SCL_SECURE_NO_WARNINGS. See
documentation on how to use Visual C++ 'Checked Iterators'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
58. _Ax=std::allocator<char>
]
c:program filesmicrosoft visual studio
10.0vcincludexstring(1556) : see declaration of
'std::basic_string<_Elem,_Traits,_Ax>::copy'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.cpp(50): warning C4996:
'std::basic_string<_Elem,_Traits,_Ax>::copy': Function call
with parameters that may be unsafe - this call relies on the
caller to check that the passed values are correct. To disable
this warning, use -D_SCL_SECURE_NO_WARNINGS. See
documentation on how to use Visual C++ 'Checked Iterators'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
59. _Ax=std::allocator<char>
]
c:program filesmicrosoft visual studio
10.0vcincludexstring(1556) : see declaration of
'std::basic_string<_Elem,_Traits,_Ax>::copy'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.cpp(93): warning C4244:
'initializing' : conversion from 'float' to 'int', possible loss of
data
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.cpp(94): warning C4244:
'argument' : conversion from 'int' to 'float', possible loss of data
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.cpp(118): warning C4244:
'initializing' : conversion from 'float' to 'int', possible loss of
data
c:usersekhlasdocumentsvisual studio
60. 2010projectsuseruseruser.cpp(121): warning C4244:
'argument' : conversion from 'int' to 'float', possible loss of data
ATMMain.cpp
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.h(5): error C2011: 'User' : 'class'
type redefinition
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.h(5) : see declaration of 'User'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2): error C2011: 'Atm' : 'class'
type redefinition
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(19): error C2079: 'u' uses
undefined class 'User'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(21): error C2079: 'ATM'
uses undefined class 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(28): error C2228: left of
'.checknotes' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(61): error C2228: left of
'.getaccountNb' must have class/struct/union
61. type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(63): error C2228: left of
'.CheckPin' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(69): error C3861:
'transactionMenu': identifier not found
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(73): error C2228: left of
'.deposit' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(77): error C2228: left of
'.withdraw' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(81): error C2228: left of
'.balanceInquiry' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(85): error C2228: left of
'.transfer' must have class/struct/union
type is 'int'
62. c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(102): error C3861:
'adminMenu': identifier not found
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(106): error C2228: left of
'.checknotes' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratmmain.cpp(110): error C2228: left of
'.addnotes' must have class/struct/union
type is 'int'
Atm.cpp
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.h(5): error C2011: 'User' : 'class'
type redefinition
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.h(5) : see declaration of 'User'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2): error C2011: 'Atm' : 'class'
type redefinition
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(10): error C2027: use of
undefined type 'Atm'
63. c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(10): error C2062: type 'int'
unexpected
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(11): error C2143: syntax error :
missing ';' before '{'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(11): error C2447: '{' : missing
function header (old-style formal list?)
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(17): error C2027: use of
undefined type 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(20): error C2065: 'notes3' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(22): error C2065: 'notes3' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(25): error C2027: use of
undefined type 'Atm'
c:usersekhlasdocumentsvisual studio
64. 2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(27): error C2065: 'notes3' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(30): error C2027: use of
undefined type 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(33): error C2065: 'notes2' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(35): error C2065: 'notes2' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(38): error C2027: use of
undefined type 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(40): error C2065: 'notes2' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(43): error C2027: use of
undefined type 'Atm'
65. c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(46): error C2065: 'notes1' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(48): error C2065: 'notes1' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(51): error C2027: use of
undefined type 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(53): error C2065: 'notes1' :
undeclared identifier
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(58): error C2027: use of
undefined type 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.cpp(67): error C2027: use of
undefined type 'Atm'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseratm.h(2) : see declaration of 'Atm'
66. Admin.cpp
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.h(5): error C2011: 'User' : 'class'
type redefinition
c:usersekhlasdocumentsvisual studio
2010projectsuseruseruser.h(5) : see declaration of 'User'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(35): error C2079: 'user' uses
undefined class 'User'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(41): error C2228: left of
'.getaccountNb' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(61): error C2228: left of
'.setLastName' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(62): error C2228: left of
'.setFirstName' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(63): error C2228: left of
'.setBalance' must have class/struct/union
type is 'int'
67. c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(64): error C2228: left of
'.setPin' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(103): error C2079: 'user'
uses undefined class 'User'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(108): error C2228: left of
'.getaccountNb' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(117): error C2079:
'emptyUser' uses undefined class 'User'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(128): error C2079: 'user'
uses undefined class 'User'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(133): error C2228: left of
'.getaccountNb' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(140): error C2228: left of
'.getaccountNb' must have class/struct/union
type is 'int'
68. c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(140): error C2228: left of
'.getLastName' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(141): error C2228: left of
'.getFirstName' must have class/struct/union
type is 'int'
c:usersekhlasdocumentsvisual studio
2010projectsuseruseradmin.cpp(141): error C2228: left of
'.getBalance' must have class/struct/union
type is 'int'
Generating Code...
Done Building Project "C:UsersEkhlasDocumentsVisual
Studio 2010ProjectsUserUserUser.vcxproj" (build target(s)) -
- FAILED.
Build FAILED.
Time Elapsed 00:00:10.87
__MACOSX/User/User/Debug/._User.log
70. voidUser::setPin(int p)
{
pin = p;
}
intUser::getPin()
{
return pin;
}
voidUser::setLastName(const string &lastNameString)
{
int length = lastNameString.size();//copy at most 15 characters f
rom string to last name
if(length >=15)
length =14;
lastNameString.copy(lastName, length);
lastName[length]='0';//apend null charactor to last name
}
string User::getLastName()const
{
return lastName;
}
voidUser::setFirstName(const string &firstNameString)
{
int length = firstNameString.size();// copy at most 10 charactors
from string to first name
if(length >=10)
length =9;
firstNameString.copy(firstName, length);
71. firstName[length]='0';//append null charactor to first name
}
string User::getFirstName()const
{
return firstName;
}
voidUser::setBalance(float b)
{
if(balance >=0)
balance = b;
else
balance =0;
}
floatUser::getBalance()const
{
return balance;
}
voidUser::setaccountNb(int a)
{
accountNb = a;
}
intUser::getaccountNb()const
{
return accountNb;
}
voidUser::deposit(fstream userfile)
{
int at;
userfile.seekg((accountNb -1)*sizeof(User));
userfile.read(reinterpret_cast<char*>(this),sizeof(User));
if(getaccountNb()==0)
72. cout<<"Account number"<<accountNb<<" didn't match."<
<endl;
else
{
cout<<"nEnter The Amount you want to Deposit: ";
cin>>at;
int oldbalance = getBalance();
setBalance(oldbalance + at);
userfile.seekp((accountNb -1)*sizeof(User));
userfile.write(reinterpret_cast<constchar*>(this),sizeof(Us
er));
}
}
voidUser::withdraw(fstream userfile)
{
int at;
userfile.seekg((accountNb -1)*sizeof(User));
userfile.read(reinterpret_cast<char*>(this),sizeof(User));
if(getaccountNb()==0)
cout<<"Account number"<<accountNb<<" didn't match."<
<endl;
else
{
cout<<"nEnter The Amount you want to withdrawal: ";
cin>>at;
//Must check for available money in ATM totalMoney()
int oldBalance = getBalance();
if(oldBalance >= at)
73. {
setBalance(oldBalance - at);
userfile.seekp((accountNb -1)*sizeof(User));
userfile.write(reinterpret_cast<constchar*>(this),sizeof(
User));
}
else
cerr<<"Your amount exceeds your available balance"<<
endl;
}
}
voidUser::balanceInquiry(fstream BF)
{
BF.seekg((accountNb -1)*sizeof(User));
BF.read(reinterpret_cast<char*>(this),sizeof(User));
if(getaccountNb()==0)
cout<<"Account number"<<accountNb<<" didn't match."<
<endl;
else
cout<<"The Balance you have: "<<getBalance()<<" KD";
}
voidUser::transfer(fstream userfile)
{
int at;
cout<<"Enter The Amount you want to transfer: ";
cin>>at;
//Source account
userfile.seekg((accountNb -1)*sizeof(User));
userfile.read(reinterpret_cast<char*>(this),sizeof(User));
if(getaccountNb()==0)
74. cout<<"Account number"<<accountNb<<" didn't match."<
<endl;
else
if(getBalance()>= at)
{
User user;
int accountnb =AccountNumber();
userfile.seekg((accountnb -1)*sizeof(User));
userfile.read(reinterpret_cast<char*>(&user),sizeof(Use
r));
if(user.getaccountNb()==0)
cout<<"Account number"<<accountnb<<" has no inf
ormation."<<endl;
else
{
setBalance(getBalance()- at);
user.setBalance(user.getBalance()+ at);
userfile.seekg((accountNb -1)*sizeof(User));
userfile.write(reinterpret_cast<constchar*>(this),size
of(User));
userfile.seekg((user.getaccountNb()-
1)*sizeof(User));
userfile.write(reinterpret_cast<constchar*>(&user),si
zeof(User));
}
}
else
cout<<"Your amount exceeds your available balance"<<
endl;
}
intUser::AccountNumber()
75. {
int anb;
do
{
cout<<"Enter Account number: ";
cin>>anb;
}while(anb <1|| anb >100);
return anb;
}
intUser::CheckPin()
{
int p;
cout<<"Enter pin number: ";
cin>>p;
if(getPin()== pin)
{return1;
cout<<"true"<<endl;}
else
{return0;
cout<<"False"<<endl;}
}
__MACOSX/User/User/._User.cpp
User/User/User.h
#include<string>
using namespace std;
class User
81. Header Files
Header Files
Header Files
__MACOSX/User/User/._User.vcxproj.filters
User/User/User.vcxproj.user
__MACOSX/User/User/._User.vcxproj.user
__MACOSX/User/._User
User/User.sdf
__MACOSX/User/._User.sdf
User/User.sln
Microsoft Visual Studio
Solution
82. File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") =
"User", "UserUser.vcxproj", "{DF4F823C-26D9-4CA9-B649-
807985328F00}"
EndProject
Global
GlobalSection(