Search:

Type: Posts; User: Timbo8

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    2,178

    and then if it is less than 0 go back to where it...

    and then if it is less than 0 go back to where it asks for the age?
  2. Replies
    15
    Views
    2,178

    so they are done in order? But also, how would i...

    so they are done in order? But also, how would i check to see if the entered age is below 0, and dispose of it if it is?
  3. Replies
    15
    Views
    2,178

    you would need a loop to do that, wouldnt you?

    you would need a loop to do that, wouldnt you?
  4. Replies
    15
    Views
    2,178

    is that all id need to change?

    is that all id need to change?
  5. Replies
    15
    Views
    2,178

    If else statements

    I am currently coding a small program to comment on your age, and I am having problems with if else statements.



    #include <iostream>

    using namespace std;

    int main()
    {
  6. Replies
    10
    Views
    1,541

    so at the end do i put endl or \n, or both?

    so at the end do i put endl or \n, or both?
  7. Replies
    10
    Views
    1,541

    thanks for your help i have it working now. I...

    thanks for your help i have it working now. I dont need the ( and ) around the number1 * number2, but i needed << and <<, but i also need \n, which also puts the next text ona new line. So the final...
  8. Replies
    10
    Views
    1,541

    what is endl?

    what is endl?
  9. Replies
    10
    Views
    1,541

    The thing is, (number1 * number2) still outputs...

    The thing is, (number1 * number2) still outputs the correct product of number1 and number2, but the thing is my compiler wont let me have the word "equals" in between <<number2<< and (number1 *...
  10. Replies
    10
    Views
    1,541

    Just learning C++ and am having trouble

    Hey everyone, this is my first time learning a language (apart from HTML and CSS) and I am having a few problems. I have read the first few parts of the tutorial on this site, and I decided to create...
Results 1 to 10 of 12