Search:

Type: Posts; User: JDrake

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    68
    Views
    12,537

    Half Life singleplayer was only OK, same with...

    Half Life singleplayer was only OK, same with Halo.
    I had fun beating them once but there's no replay value at all. With the multiplayer of those games, though (well the CS mods to HL), I could...
  2. Thread: Help ! Help!

    by JDrake
    Replies
    8
    Views
    1,398

    He put it like this: code...

    He put it like this:
    <CODE><COLOR="Lime">code here</COLOR></CODE>

    RedOrangeYellowGreenBlueIndigoViolet



    Hahaha
  3. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    It's at 3billion and I'm losing hope (going at...

    It's at 3billion and I'm losing hope (going at about 10,000 tries a second) :/
    My math was also wrong because with 16! you cannot have the same 4x4 square twice, but you can in my program......
  4. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    I think there are 7040 different possibilities...

    I think there are 7040 different possibilities (880 unique?) so it should take, what, 3billion tries?
  5. Thread: Screen Res'

    by JDrake
    Replies
    42
    Views
    8,088

    Poll: Ditto.

    Ditto.
  6. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    Well, the counter says that it has done the...

    Well, the counter says that it has done the operations 163million times so far...
  7. Thread: Help!!

    by JDrake
    Replies
    6
    Views
    1,372

    First, include the header files you will need to...

    First, include the header files you will need to do what you want. This will probably only be iostream.

    Then, declare the variables you will need in the program. You will probably need a...
  8. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    #include #include...

    #include<iostream.h>
    #include<stdlib.h>
    #include<time.h>

    void random1();
    int norepeat[17]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
    int row1[4];
    int row2[4];
    int row3[4];
    int row4[4];
  9. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    That's what I'm not sure about. Do you know...

    That's what I'm not sure about. Do you know anywhere I can look at an example of passing true/false between multiple functions; or what I should search for?

    Robatino, I was told it'd be easier to...
  10. Replies
    68
    Views
    12,537

    Who the heck plays a game for the story? ...

    Who the heck plays a game for the story? Multiplayer is all that matters.

    <- Halo/CS fan
  11. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    I thought what checkall() was doing was "us[ing]...

    I thought what checkall() was doing was "us[ing] a loop to call random1 over and over again", but you don't want me to do that? Where should I be calling random1() if the checkall() is false?...
  12. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    Here's what I have #include...

    Here's what I have


    #include<iostream.h>
    #include<stdlib.h>
    #include<time.h>

    void random1();
    void checkall();
    int norepeat[16]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
  13. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    So what would be the more efficient way of...

    So what would be the more efficient way of checking a row/column??
    I was just AFK and now I get back and still have no idea what to do...
    ...
  14. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    Daved, I'm redoing the code with a 6x6 array: ...

    Daved, I'm redoing the code with a 6x6 array:


    #include<iostream.h>
    #include<stdlib.h>
    #include<time.h>

    int grid[6][6];
    void randnums();
  15. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    Ok, thanks... dunno but it was giving me problems...

    Ok, thanks... dunno but it was giving me problems earlier so I just did

    variable1=grid[1];
    variable2=grid[2];
    and then

    if(variable1+variable2==4)
    The 2nd worked but when I added grid[1] and...
  16. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    So wait... can you or can you not do something...

    So wait... can you or can you not do something like this:

    if(grid[3][1]+grid[3][2]==4)
    ?
  17. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    Thanks guys. Your suggestions should keep me...

    Thanks guys. Your suggestions should keep me busy for a while, so I'll get back to you later :)
  18. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    Do you know why there was no problem with the 3x3...

    Do you know why there was no problem with the 3x3 even with the little problem(s) you showed me?
  19. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    If you were wondering, here is the code for the...

    If you were wondering, here is the code for the 3x3 "Magic Square" and it works perfectly I think:


    #include<iostream>
    #include<time.h>
    #include<stdlib.h>

    void assignrow1();
    void...
  20. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    Thanks, Daved. I changed all of the loops to ...

    Thanks, Daved.
    I changed all of the loops to

    for (int x=0;x<6;x=x++)
    And I changed the

    row1num1=row1[1];
    to

    row1num1=row1[0];
  21. Thread: Array Help?

    by JDrake
    Replies
    36
    Views
    2,918

    Array Help?

    This is my 2nd post (different problem this time) and with the last question I made, you guys answered me very well, so here I am again.
    This time, I have to make a 6x6 "Magic Square"using arrays. ...
  22. Replies
    28
    Views
    5,210

    isn't this a lot easier #include ...

    isn't this a lot easier

    #include<iostream.h>

    int main()
    {
    int temp1;
    double temp2, temp3;
    char temp4;
    cout<<"(1)Fahrenheit or (2)Celcius?"<<endl;
  23. Replies
    5
    Views
    1,607

    How do you have it so that if(money

    How do you have it so that
    if(money<0)
    END PROGRAM?

    (simple way?)
  24. Replies
    5
    Views
    1,607

    Hmmm very good point, didnt think of that, can...

    Hmmm very good point, didnt think of that, can you show me basically how itd be set up. I get what you're saying but how would you make it stop checking once the IF is completed?

    (PS: don't worry...
  25. Replies
    5
    Views
    1,607

    Numerical order with ifs question?

    In the variables ac3, bc3, cc3, dc3, ec3, and fc3, I have stored the number of moves it took for something to happen. Now, I need to get the lowest, 2nd lowest and third lowest from that group.
    ...
Results 1 to 25 of 26
Page 1 of 2 1 2