Search:

Type: Posts; User: rTeapot

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    1,882

    Elysia, actually I know how to return values but...

    Elysia, actually I know how to return values but honestly have no idea what you mean by return types...(**edit :this must have something to do with why I had to change the spaceShip lowestValue to...
  2. Replies
    10
    Views
    1,882

    Ok so I changed my if statement in the...

    Ok so I changed my if statement in the highestValue function and now just getting the return errors that I just don't understand...



    #include <iostream>
    #include <cstdlib>
    #include <ctime>
  3. Replies
    10
    Views
    1,882

    sorry I am new to this and am not quite sure why...

    sorry I am new to this and am not quite sure why I need to have a result output in that function... and if I do need one then what should it be? I tried making it a void and it didnt really change...
  4. Replies
    10
    Views
    1,882

    I'm not quite sure what you mean by ignore the...

    I'm not quite sure what you mean by ignore the results, I use the results to see where the ships are laid initially right? I am lost
  5. Replies
    10
    Views
    1,882

    Ok I feel like an idiot, found the missing brace...

    Ok I feel like an idiot, found the missing brace but it seems to have made it worse.... Now it says I am missing braces and semicolons everywhere but I cant find any missing...



    #include...
  6. Thread: feeling proud.

    by rTeapot
    Replies
    12
    Views
    1,858

    He is working his way through a book guys, hasn't...

    He is working his way through a book guys, hasn't reached the chapter on switches, or tables, honestly this is great for how far he is in the book...
  7. Thread: feeling proud.

    by rTeapot
    Replies
    12
    Views
    1,858

    I see you're working your way through the Jumping...

    I see you're working your way through the Jumping into C++ book! ME TOO! Stick with it man! I'm only on chapter 11 lol, but so far its tons of fun! Best of luck to you, and Nice Code, I know the...
  8. Replies
    10
    Views
    1,882

    Help with Structures

    **Cue usual spiel about being a noob and new to programming**

    Here is the problem: Create an array of space ship objects and write a program that continually updates their positions until they all...
  9. Replies
    8
    Views
    2,040

    Just looking for Feedback

    Here was the problem I was attempting to solve with this program. Program: Write a program that takes in 50 values and prints out the highest, the lowest, the average and then all 50 input values,...
  10. Replies
    11
    Views
    5,881

    Thank you, I will try attempting this some other...

    Thank you, I will try attempting this some other ways.
  11. Replies
    11
    Views
    5,881

    Array causing program to crash

    Currently working my way through the Jumping into C++ e-book, anyways the current chapter is on arrays, in said chapter we are given a way of sorting the variables in our array and then returning...
  12. Replies
    11
    Views
    1,562

    No worries iMalc! Well everyone, here is my code...

    No worries iMalc! Well everyone, here is my code after taking suggestions into account... Please let me know what you think and if I can improve it anywhere. Also, I did leave the system call in...
  13. Replies
    11
    Views
    1,562

    First things first, my bad iMalc hence forth I...

    First things first, my bad iMalc hence forth I shall post thread titles that are proper, my apologies. Thank you to everyone who commented, I appreciate the help and criticism, I have some re-writing...
  14. Replies
    11
    Views
    1,562

    2 quick questions

    Currently working through the Jumping Into C++ E-book, on the chapter about randomizing, one of the practice problems has asked me to make a "slot machine" style output and then have rewards for...
  15. Replies
    9
    Views
    3,912

    Thanks for the input laserlight, I agree that the...

    Thanks for the input laserlight, I agree that the way I did it was a bit bulky but I am a little new to this so that's what I came up with, still working at getting my writing minimalistic and...
  16. Replies
    9
    Views
    3,912

    Thank you everyone for your quick replies and...

    Thank you everyone for your quick replies and help! To grumpy and King Mir, thank you for showing me how you would shorten it, I feel like writing shorter code comes with more experience because...
  17. Replies
    9
    Views
    3,912

    Thanks Elysia!

    Thanks Elysia!
  18. Replies
    9
    Views
    3,912

    0 would result in all being true thus the loop...

    0 would result in all being true thus the loop would run again.
    1 would result in (false, true, true) run again.
    2 would result in (true, false, true) run again.

    Darn it ok it always evaluates...
  19. Replies
    9
    Views
    3,912

    What am I doing wrong?? (simple)

    Ok so I am quite sure everyone will find this stupidly simple but I am trying to learn C++ and am still in the MOST basic steps, just made it to Loop section in Jumping Into C++ E-book. Anyways here...
Results 1 to 19 of 19