Search:

Type: Posts; User: Rich2189

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    2,197

    Virtual Destructor Example...

    Virtual Destructor Example
  2. Replies
    2
    Views
    10,595

    You only require one loop since you are computing...

    You only require one loop since you are computing all the other j - 1 triangular numbers for each inner loop.

    That is all I will say since this is clearly a homework task.
  3. Replies
    13
    Views
    3,248

    The C++ trigonometric functions work in radians...

    The C++ trigonometric functions work in radians rather than degrees.

    Radians

    I guess this is the issue you are experiencing.
  4. Thread: Help me!!!

    by Rich2189
    Replies
    8
    Views
    1,109

    Homework due in for Monday morning? Late and...

    Homework due in for Monday morning? Late and asking a forum to write it all for you, how amusing.

    What code do you have so far? We need specific problems.
  5. Replies
    10
    Views
    3,426

    No, changing the datatype is masking the real...

    No, changing the datatype is masking the real issue here.



    #include <iostream>
    #include <limits>

    using namespace std;

    int main()
  6. Replies
    10
    Views
    3,426

    De Morgan's laws have nothing to do with the...

    De Morgan's laws have nothing to do with the infinite loop, the loop condition is correct. As I stated above, the reason for the infinite loop is the cin statement is being skipped while it remains...
  7. Replies
    10
    Views
    3,426

    You attempt to read a character into an integer...

    You attempt to read a character into an integer which sends cin into a fail state:

    std::cin.fail() is equal to true.

    You must first call cin.clear() to remove the error flag before you can...
Results 1 to 7 of 7