Search:

Type: Posts; User: CplusplusNewb

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    4,376

    Well I don't know about you guys, but I actually...

    Well I don't know about you guys, but I actually learn better if I'm just spoon fed the answers, then I can easily do something of the same level naturally. But that's just me.

    Anyways I was able...
  2. Replies
    14
    Views
    4,376

    Now my final question. In my book it says I have...

    Now my final question. In my book it says I have to ask the user whether they would like to covert from feet and inches to meters and cm, or from meters and cm to feet and inches.

    And I would have...
  3. Replies
    14
    Views
    4,376

    Ah ok thanks for making me feel so stupid *thumbs...

    Ah ok thanks for making me feel so stupid *thumbs up*
  4. Replies
    14
    Views
    4,376

    Where'd you get 3.2808399 from?

    Where'd you get 3.2808399 from?
  5. Replies
    14
    Views
    4,376

    Doing the opposite in a conversion?

    Ok the conversion from feet and inches to meters and centimeters (meters being an int and the remainder being converted into cm), but how can I do just the opposite?

    See here's the code for feet...
  6. Wow thanks that actually works great and does...

    Wow thanks that actually works great and does exactly what I want it to! :D
  7. OK never mind about the conversion, I got ...

    OK never mind about the conversion, I got



    meters = meters * 0.3048;


    and it worked for the feet to meters conversion.

    But I have to make it so there are no decimals in it. If it's 10...
  8. Void conversion function for feet and inches to meters and centimeters?

    I got all the rest of the code working but I just can't figure out how to convert the input into meters and centimeters. For example I know that 1 foot is 0.3048 meters, so I need to multiply the...
  9. Replies
    16
    Views
    17,722

    for (int row = 0; row < 10; row++) { for...

    for (int row = 0; row < 10; row++)
    {
    for (int col = 0; col <= row; col++)
    {
    cout << "-";
    }


    for (int lol = 0; lol <= 8 - row; lol++)
    {
  10. Replies
    16
    Views
    17,722

    Well now I'm completely stumped. Can you please...

    Well now I'm completely stumped. Can you please tell me which numbers I switch? I'm really confused.
  11. Replies
    16
    Views
    17,722

    Ok what I don't understand is at what number my...

    Ok what I don't understand is at what number my loop starts and at what number it ends (in the code).

    When I change the first number to 0 my output is:

    10 #'s
    1 dash and 9 #'s

    ..
    ..
    ..
  12. Replies
    16
    Views
    17,722

    for (int row = 9; row < 10; row++) { for...

    for (int row = 9; row < 10; row++)
    {
    for (int col = 0; col <= row - 1; col++)
    {
    cout << "-";
    }


    for (int lol = 0; lol <= 9 - row; lol++)
    {
  13. Replies
    16
    Views
    17,722

    Well I'm only a beginner, what you jsut said will...

    Well I'm only a beginner, what you jsut said will actually take me like 5 trial and errors. >.>
  14. Replies
    16
    Views
    17,722

    for (int row = 0; row < 10; row++) { for...

    for (int row = 0; row < 10; row++)
    {
    for (int col = 0; col <= row - 1; col++)
    {
    cout << "-";
    }


    for (int lol = 0; lol <= 9 - row; lol++)
    {
  15. Replies
    16
    Views
    17,722

    See if you take this code and run it you will see...

    See if you take this code and run it you will see the dashes and the #'s. I need to know how to flip the dashes upside down, and the #'s flip them to the side, so the #'s will form my opposite right...
  16. Replies
    16
    Views
    17,722

    Yea. Right now what I would like to know is how...

    Yea. Right now what I would like to know is how do I make the right triangle flip upside down? So that there will be 9 '-" on the first line, 8 on the second, 7 on the third, etc. Then at the end of...
  17. Replies
    16
    Views
    17,722

    How to draw shapes with only for loops?

    Ok I have this problem.

    First I need to make a right triangle:

    #
    ##
    ###

    Done.
Results 1 to 17 of 17