473,511 Members | 16,660 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need Some Help With A C++ Project

2 New Member
I HAVE STARTED MY PROJECT AND I HAVE GOT STUCK, I AM NOT SURE IF IM DOING THINGS RIGHT, MY PROGRAM NEEDS TO BE ABLE TO ADD NAMES TO A SEQUENTIAL FILE AND BE ABLE TO READ FROM THERE AND IM STUCK, IF AT ALL POSSIBLE CAN I GET SOME HELP..

HERE IS WHAT I HAVE SO FAR

# include <iostream>
# include <iomanip>
# include <string>
# include <fstream>

using namespace std;

//const int maxNumberofEmployee = 26;
//void getEmployeeData (ifstream & infile, employeeName employeeList [], int
number of employee);
//void printpayReports (ofstream& outfile, employeeName employeesList[], int
double payRate);

int main()
{
string fName;
string lName;
string address;
int noOfDependents;
char mstatus;
double deduction;
int count;
count = 0;

do
{
cout << "Enter the First Name: ";
cin >> fName;
cout << endl;

cout << "Enter the last Name:";
cin >> last name;
cout << endl;

cout << "Enter the Address: ";
cin >> address;
cout << endl;

cout << " Enter M(arried) or S(single): ";
cin >> mstatus;
cout << endl;

cout << "How much you want us to deduct for 401k plan ?";
cin >> deduction;
cout << endl;

count = count + 1
}
while (count <= 26);

now here is where I am stuck with where to go next.
Nov 27 '06 #1
0 1008

Sign in to post your reply or Sign up for a free account.

Similar topics

9
2912
by: sk | last post by:
I have an applicaton in which I collect data for different parameters for a set of devices. The data are entered into a single table, each set of name, value pairs time-stamped and associated with...
11
2060
by: Mark | last post by:
Hi, For the last 2 years I've been developing vehicle tracking/telemetric software for a company as a self employed individual. The project is quiet big, and is going to be there flagship...
10
2855
by: Tom | last post by:
I am looking for some ideas for how to design the layout of the form for data entry and to display the data for the following situation: There are many sales associates. A sales associate can work...
48
3182
by: Chad Z. Hower aka Kudzu | last post by:
A few of you may recognize me from the recent posts I have made about Indy <http://www.indyproject.org/indy.html> Those of you coming to .net from the Delphi world know truly how unique and...
1
1078
by: steve | last post by:
oh the powers that be! my boss wanted me to include several .net project that i have created to a cvs repository that is unix based. he walked me through a client application called "eclipse"...
12
5293
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee class to/from the webservice. I have currently coded...
17
2512
by: Student | last post by:
Hi All, I have an assignment for my Programming language project to create a compiler that takes a C++ file as input and translate it into the C file. Here I have to take care of inheritance and...
15
4564
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
0
2078
by: garimaarora | last post by:
hi i am a beginner of c++ language and had tried to build a project in c++ language the project is throwing me set of exceptions and i need ur help if there is anybody who is interested in...
3
1337
by: shapper | last post by:
Hello, I am working on an ASP.MET MVC Web Application with NET 3.5 in VS 2008. I need to run some extra tasks on this project build so I download MSBuild from http://msbuildtasks.tigris.org/....
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7423
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7081
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7510
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5066
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4737
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3225
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
781
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
447
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.