Search:

Type: Posts; User: iluvmyafboys

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,417

    what's wrong with my pointer?

    /* Calculate the total charges and the total hours for the
    parking garage. */

    #include <iostream>

    using std::cout;
    using std::cin;
    using std::endl;

    #include <iomanip>
  2. HUH?

    HUH?
  3. Laugh if you must, but i still need help

    Well...i'm supposed to write a program that uses a datafile as the input. We're supposed to create a table of salaries based on the amount of sales and commission.

    The input I've created as a...
  4. Replies
    13
    Views
    2,281

    well whatever

    i'm still more confused now than i was before.
  5. Replies
    13
    Views
    2,281

    so is this anywhere close to what i'm supposed to do?

    /* Calculate the total charges and the total hours for the
    parking garage. */

    #include <iostream>

    using std::cout;
    using std::cin;
    using std::endl;

    fxn userValues(a, b, c);
  6. Replies
    13
    Views
    2,281

    what's the difference?

    well...this is the program that i had.....

    /* Calculate the total charges and the total hours for the
    parking garage. */

    #include <iostream>

    using std::cout;
    using std::cin;
    using...
  7. i don't know....i just ran the program, and it...

    i don't know....i just ran the program, and it still doesn't work...i get this:

    /tmp/ccUHX0O8.o: In function `main':
    /tmp/ccUHX0O8.o(.text+0xa0): undefined reference to `calculatecharges(double,...
  8. THANKS SO MUCH! :D all of u have been such a...

    THANKS SO MUCH! :D all of u have been such a great help. i think i'm gonna try to find C++ for dummies....i hear that's a good book to read. thanks again!
  9. the program still doesn't work. it says that : ...

    the program still doesn't work. it says that :

    man.cpp: In function `void calculatecharges(int, int, int)':
    man.cpp:41: warning: assignment to `int' from `double'
    man.cpp:48: warning:...
  10. well i've changed it, but i still can't get it to...

    well i've changed it, but i still can't get it to work...here's what i have:

    /* Calculate the total charges and the total hours for the
    parking garage. */

    #include <iostream>

    using...
  11. i guess that getting the program to work is my...

    i guess that getting the program to work is my priority...but how would i change the couts to get the output to line up?
  12. so can i put them n e where in main like this: ...

    so can i put them n e where in main like this:

    int main()
    {
    int a;
    b;
    c;

    cout<<"Enter the number of hours for CAR 1:";
    cin>>a;
  13. well sorrrrrryyyy!!!! i told u that i know...

    well sorrrrrryyyy!!!! i told u that i know absolutely nothing about this type of programming. no need to act like that. it'd be nice if someone could explain what's wrong but obviously that's not...
  14. ok this is what i have now

    /* Calculate the total charges and the total hours for the parking garage. */

    #include <iostream>

    using std::cout;
    using std::cin;
    using std::endl;

    int charges (chargesa, chargesb,...
  15. I'm a newbie and I can't understand the errors in my program

    maybe i should just change my major! lol well...the exercise asks us to calculate charges for a parking garage. there's a $2.00 minimum fee for less than 3 hours, and a $0.50 charge for each...
  16. thanks but...

    thanks for the advice, but i'm not familiar with arrays...any other suggestions?
  17. Can't spot the problem...am i even on the right track?

    this is what i have so far. i wrote the notes in the beginning so that any one who sees this knows what i'm looking for. i'm not sure if i have to display each check#, or if there's a way that i...
  18. I'm still having a problem. I changed each...

    I'm still having a problem. I changed each integer statement to the floats, and it runs, but now the output says:

    Enter first integer
    5
    Enter second integer
    8
    Sum is 13
    Difference is -3...
  19. I've compiled, but I don't know what the problem is.

    I haven't had any problems with my other programming, but this one seems to stump me. The program asks to "write a program that asks the user to enter two numbers, obtains the two numbers and prints...
Results 1 to 19 of 19