thank you for all of the advice i got it to work.
Type: Posts; User: shaftinafrica
thank you for all of the advice i got it to work.
i still get the same errors.
#include <ctype.h>
#include <iomanip.h>
#include <fstream.h>
#include <string>
#include <iostream.h>
void printdata(char, double);
int main (void)
{
i should also mention that the assignment required these functions in a custom header file. Otherwise i would of just included it at the end of the employee.c file as protocol functions.
Im restricted to the guidelines of the assignment handed to me by the teacher. And he requires us to use the ClearBuffer function. I just can't display the highest paid employee. thats my only hangup...
ok so i got the program to run and display the employees on the screen. But im having a hard time displaying the new information after i call the "RaiseSalary" and "FindHighestPaid" function. When i...
save time and store certain peices of code for later use in other programs/modules.
the problem is that i need to use a custom header file.
thanx i appreciate ur help. ill do that and work from there.
Its supposed to be a number of arrays representing employees. And then a number of addresses within that array. Like e -> Id, e -> LastName, e -> FirstName... etc. for each employee.
i know i should of used "gets" with the ClearInputBuffer function. As far as employee and employees go i believe they are supposed to be the same.
I need to make a custom header file for a program which calls for various information about employees. such as ID, First Name, Last Name, Street Address, City, Zip Code, and Phone Number.
If i...
thanx for all the help.
I can't get the '-1' to display.
it worked for you?
I have to find the last occurence of 'x' in an array of any given length. If the variable 'x' is not in the array then -1 should be displayed. This is what ive done so far...
#include...