Checkout
checkout
view
Your Cart Your Cart: item(s)
View Details $1.99 Download Add to Cart

c++ cin.ignore function simple question

I wrote the following c++ code to a source file /this program will calculate federal and fica taxes withheld and calculate net pay //for an employee #include #include #include using namespace std; //function prototypes void empInput(string&, float&, float&, float&); float calcFwt(float, float); float calcFica (float, float); float calcNetPay (float, float, float); void dispEPay (string, float, float, float); int main () { string name = ""; float wkSal = 0.0; float fedWld = 0.0; float fedWldRate = 0.0; float ficaWld = 0.0; float ficaWldRate = 0.0; float netPay = 0.0; int howMany = 0; int count; cout<<"Please enter t... click for more

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

8874

OTA ID:

103642

View Details $1.99 Download Add to Cart

Java program

Hello! I am trying to write a program in Java that will be able to recognise the contour of an image. An image is a two-dimentional table of boolean values (true=black, false=white), and the contour is the list of points which form the outer edge of the image. Two files are attached. The first is my class Image, and the second is a test class which tries it out on an example. As you can see if you execute my program, I get a list of points and directions, but they are not quite correct. I think there are only small changes to be made, and I would be very grateful if you could show me what to change so that it works properly. Thanks for your help! PS - In order to compile and e... click for more

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

9365

OTA ID:

101620

View Details $1.99 Download Add to Cart

C++ code

i am having a difficult time getting started generating a C++ code for this function. char *ism_repallfile(const char *szin, const char *sztarget, const char *str, const char *sub) This is what the code is supposed to do: Takes a text file, szin opens it in line_by_line. For each line, it replaces any occurrences of str with sub, then writes it out to the text file sztarget.

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

10035

OTA ID:

103642

View Details $1.99 Download Add to Cart

Write a highly configurable shell script to find the number of files that have been modified X days ago, where X can be changed by the user to any value.

Problem 2 File "Ageing" Shell Script A) Write a shell script that will count the number of files in your account hat were last modified 5 or more days ago. When you run the shell script, the results should look something like this: % ageing there are 19 files modified 5 or more days ago. % B) Modify your script (or re-write it if you wish) to allows the user to choose what the script should use for the last modified day. Example: % ageing 15 There are 4 modified files 15 or more days ago. C) Modify the script to get it to back up to "X" number of days and list the files that were modified for each day. Example: % ageing -3 Files modified 1 day ago ./a.txt ... click for more

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

12050

OTA ID:

103644

View Details $1.99 Download Add to Cart

C+ programming

useing a loop and switch statement. In this program, you will keep track of the number of votes for each color of m&m's candy. The user will be able to vote until he types the sentinal character 9. Display the menu and ask the user to enter a number. Check the number entered aginst the display numbers 1-2-3-4-5-6. If the number entered is 1, add one to the redctr. Ig the user enters 2, add one to the bluectr ect.... 1-red, 2-blue,3-brown,4-yellow,5-green,6-purple. Vote your favorite color by pressing the number before it.

Subject:

Computer Science

Topic:

Software Tools and Systems Programming.

Posting ID:

12785

OTA ID:

103642

Page generated in 0.0984 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples