Search:

Type: Posts; User: alkamenes

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,642

    Rounding to the nearest dollar

    How do you round up or down a double(not an int) to the nearest dollar? Ex. $23.45 = $23 or $25.54 = $26...etc
  2. Replies
    1
    Views
    1,142

    Probably a simple error

    I'm new with C++ so no flame. I'm getting this error

    [Linker error] undefined reference to `DetermineCost(double, double)'
    ld returned 1 exit status

    Here is my code



    #include...
  3. Replies
    6
    Views
    1,901

    Im sure i need apstring in there somewhere ...

    Im sure i need apstring in there somewhere

    Complete list of errors are:

    13:22: apstring.h: No such file or directory
    18: error: expected `,' or `...' before '&' token
    18: error: ISO C++...
  4. Replies
    6
    Views
    1,901

    #include #include #include...

    #include <iostream>
    #include <iomanip>
    #include "apstring.h"

    using namespace std;

    void ExplainProgram();
    int getInteger(const apstring &prompt);
    double getDouble(const apstring &prompt);...
  5. Replies
    6
    Views
    1,901

    Functions, have errors...NEED HELP FAST

    This is my program

    #include <iostream>
    #include <iomanip>
    #include "apstring.h"

    using namespace std;

    void ExplainProgram();
    int getInteger(const apstring &prompt);
Results 1 to 5 of 5