Search:

Type: Posts; User: SebastionV3

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    3,976

    ok i did the little random system thing but now...

    ok i did the little random system thing but now everything always equals 0



    #include <iostream>
    #include <cstdlib>
    #include <string>
    #include <time.h>

    using namespace std;
  2. Replies
    10
    Views
    3,976

    haha i have no idea what you just said

    haha i have no idea what you just said
  3. Replies
    10
    Views
    3,976

    Working with random like dice

    How do I make their str, def, sstr and so forth random as if they were rolling dice and the set numbers are the max they can roll and 0 is the lleast?



    #include <iostream>
    #include <cstdlib>...
  4. no i have char command[15]; which is what i was...

    no i have char command[15]; which is what i was using as the string but appearntly it wasnt working so do I still need it?
  5. ok i fixed it thanks everything works now i just...

    ok i fixed it thanks everything works now i just need to integrate the random so everything will make sence and not be pointless
  6. what did you do?? I just put string command; and...

    what did you do??
    I just put string command; and it fixed that problem i post the new problem in a sec
  7. nevermind i fixed it but now it doesnt do...

    nevermind i fixed it but now it doesnt do something else its supposed to do
  8. If needed I can add the full program so you can...

    If needed I can add the full program so you can look at it all
  9. I simple little problem but i cant figure it out

    alright my code works perfectly and it runs but my only problem is that whether or not i input the proper responce it always does the else statement



    void Character::Command()
    {
    ...
  10. Replies
    11
    Views
    1,098

    mmm sounds good let me check this out

    mmm sounds good let me check this out
  11. Replies
    11
    Views
    1,098

    see thats what i was thinking since its in the...

    see thats what i was thinking since its in the loop its going to repeat anyways but i have no idea how to fix something like that
  12. Replies
    11
    Views
    1,098

    about 6 out of 10 it misses and then the next...

    about 6 out of 10 it misses and then the next time around it repeats the same responces
  13. Replies
    11
    Views
    1,098

    ok when you start it up, the first responce you...

    ok when you start it up, the first responce you get is what you contnue to get. its not always the same thing when you start the program but about 90% of the time you get the same responce
  14. Replies
    11
    Views
    1,098

    How would I check for a negative value? My...

    How would I check for a negative value?

    My number are barely randum at all, if you run the program you pretty much get the same responce every time.
  15. Replies
    11
    Views
    1,098

    I have two problems

    First off, heres my code.


    #include <iostream>
    #include <cstdlib>
    #include <cstring>
    #include <time.h>

    using namespace std;
  16. Replies
    18
    Views
    2,107

    i dont understand this one, its working the...

    i dont understand this one, its working the program runs but not all of the code runs. it states the first two lines then quits out on me.



    #include <iostream>
    #include <cstdlib>
    #include...
  17. Replies
    18
    Views
    2,107

    yeah no problem it would probally be easier if we...

    yeah no problem it would probally be easier if we didnt through some other means than on here but yeah that would be great. What im working on now is just like the prototype, im still learning c++...
  18. Replies
    18
    Views
    2,107

    oh nevermind sorry

    oh nevermind sorry
  19. Replies
    18
    Views
    2,107

    its still doing the same thing

    its still doing the same thing
  20. Replies
    18
    Views
    2,107

    im sorry about this , I just cant get anything to...

    im sorry about this , I just cant get anything to particapte with me. Its not taking out the points from the hit points like its supposed to so even after the attack its still 100



    #include...
  21. Replies
    18
    Views
    2,107

    alright thanks yeah i had to use that in my death...

    alright thanks yeah i had to use that in my death clock
  22. Replies
    18
    Views
    2,107

    my random number generators arent exactly coming...

    my random number generators arent exactly coming up random ive gotten one everytime ive done it
  23. Replies
    18
    Views
    2,107

    ok nevermind i forgot to type in get.ignore();...

    ok nevermind i forgot to type in get.ignore(); after my input sorry about this, having a rough couple of days and cant think straight
  24. Replies
    18
    Views
    2,107

    ok im just not having a good day i fixed that...

    ok im just not having a good day

    i fixed that which is a mistake i shouldnt of made but now instead of saying the final cout and telling me how much damage it did make it just ends the program
  25. Replies
    18
    Views
    2,107

    ohhhhhhhh i didmt even realize thats what i did...

    ohhhhhhhh i didmt even realize thats what i did sorry thanks
Results 1 to 25 of 35
Page 1 of 2 1 2