Search:

Type: Posts; User: bj31t

Search: Search took 0.00 seconds.

  1. Thread: text file

    by bj31t
    Replies
    15
    Views
    1,832

    yes, i agree 100% that the posts should be...

    yes, i agree 100% that the posts should be correct. for inexperienced people like me it is very important. thanks for all the help!
  2. Thread: text file

    by bj31t
    Replies
    15
    Views
    1,832

    thanks for the help!! i guess it would have...

    thanks for the help!! i guess it would have helped if i had told you i was using c++.net. i dont think you have to use .h
  3. Thread: text file

    by bj31t
    Replies
    15
    Views
    1,832

    text file

    can anyone tell me why there is 18 numbers in the text file instead of 10. thanks


    #include <fstream>
    #include <iostream>
    #include <cstdlib>
    #include <ctime>

    using namespace std;
  4. Thread: cin.fail

    by bj31t
    Replies
    3
    Views
    2,790

    i am wanting it to only take in numbers as input ...

    i am wanting it to only take in numbers as input and give an error message for anything else.
  5. Thread: cin.fail

    by bj31t
    Replies
    3
    Views
    2,790

    cin.fail

    can someone tell me why this cin.fail statement will not work.
    thanks



    #include <iostream>
    using namespace std;

    double balance;
    double charge(double charge_amount);
  6. Replies
    5
    Views
    1,685

    Thanks!!! That helped a lot.

    Thanks!!! That helped a lot.
  7. Replies
    5
    Views
    1,685

    i had tried that but i got the same error: ...

    i had tried that but i got the same error:


    binary '==' : std::string' does not define this operator or a conversion to a type acceptable to the predefined operator
  8. Replies
    5
    Views
    1,685

    boolean operators

    Could someone tell me what is wrong with the boolean operators in this program
    thanks!!


    #include <iostream>
    #include "test2.h"

    using namespace std;
  9. Thread: swaping numbers

    by bj31t
    Replies
    14
    Views
    1,786

    Prelude, could you explain what you mean. I...

    Prelude, could you explain what you mean. I dont understand.
    Thanks
  10. Thread: swaping numbers

    by bj31t
    Replies
    14
    Views
    1,786

    swaping numbers

    I am trying to put three numbers in order from smallest to largest by swaping them. I can figure out how to get all of them to display after they are swapped. Any help would be great.


    void...
  11. Thread: functions

    by bj31t
    Replies
    9
    Views
    1,186

    thanks for the help

    thanks for the help
  12. Thread: functions

    by bj31t
    Replies
    9
    Views
    1,186

    is it possible to do this as a function in the...

    is it possible to do this as a function in the main?
  13. Thread: functions

    by bj31t
    Replies
    9
    Views
    1,186

    is there any way to get this to work inside the...

    is there any way to get this to work inside the main.
  14. Thread: functions

    by bj31t
    Replies
    9
    Views
    1,186

    functions

    i am having trouble with the divide function in the main. any help would be great.




    #include <iostream>
    #include "fun.h"
    using namespace std;
    double divide (double num1, double num2);...
Results 1 to 14 of 14