Search:

Type: Posts; User: Reinmaster7

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    805

    The answer itself isn't that usefull, but i...

    The answer itself isn't that usefull, but i looked into the table of contents and found the answer in a paragraph 2 chapters further or something.
    Thanks anyways :P
  2. Replies
    2
    Views
    805

    Array with pointers.

    Hey everyone!
    I just learned about pointers, and i want to combine them with arrays, but i don't know what the general syntax is for a pointer pointing to an array. can it point to a full array or...
  3. Replies
    13
    Views
    1,751

    I don't understand this. i dont...

    I don't understand this.
    i dont entirelyunderstand the rand statement, but i do think to know that this is a function that takes the socalled seed from the srand function, and makes calculation with...
  4. Replies
    5
    Views
    1,156

    You sir, are smart :P Thank you :D

    You sir, are smart :P
    Thank you :D
  5. Replies
    5
    Views
    1,156

    he defined it correctly, but by reading it you...

    he defined it correctly, but by reading it you assume this is possible. when you read it back, you see he clearly explains it.
    also, i didn't read all of it in the book, because i thought i...
  6. Replies
    5
    Views
    1,156

    problem with switch statements.

    Hello everyone.
    I'm working on making a little card game, and therefore i need to be able to deal cards.
    so im working on function to give you a card.
    I tried this piece of code:


    switch...
  7. Replies
    13
    Views
    2,006

    did i post a report? no, i asked if this was a...

    did i post a report? no, i asked if this was a fault xD :p
    It was just a question!
    and further in the book i found 2 typos xD, not in sample codes but in normal text. somewhere there is "appy"...
  8. Replies
    13
    Views
    1,751

    I am a noob, i admit, but i am trying hard :D I...

    I am a noob, i admit, but i am trying hard :D
    I just love coding so much :P
    But seeing this, i thought of something. i understand that you can get the seed by the srand(time(NULL)); , but by...
  9. Replies
    13
    Views
    1,751

    When i do a for loop, going trough this random...

    When i do a for loop, going trough this random generating code 1000 times it is generated randomly, but everytime i stárt the program, it's usually a little more than the last time i ran the program
  10. Replies
    13
    Views
    1,751

    random numbers adding up..

    hello!
    I've made my first random number generator, and everytime i try it out, the numbers are random, but they all add up. so if i have a randomness range between 1 and 52 (card game) it's...
  11. Replies
    13
    Views
    2,006

    I thought so :D

    I thought so :D
  12. Replies
    13
    Views
    2,006

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

    int main (){
    for ( int i = 0; i < 10; i++ )
    {
    cout << '\t' << i; // \t represents a tab character, which will
    format our output nicely
    }
    cout << '\n';
    for ( int i = 0; i < 10; ++i )
    {
    cout...
  13. Replies
    13
    Views
    2,006

    Thanks for the replies, now i understand;) Now,...

    Thanks for the replies, now i understand;)
    Now, let's get on with the tutorial! :D
  14. Replies
    3
    Views
    4,472

    you got Alex' book? he clearly explains very...

    you got Alex' book?
    he clearly explains very good how to install it. Read it carefully.
    If it's a compressed directory mayby you should open it and the installer is in it?
    I've got windows so i'm...
  15. Replies
    13
    Views
    2,006

    fault in eBook Alex?

    Hello everyone,
    I just bought Alex' eBook, and i noticed somethign that i thought was wrong.
    In the book, there is this if statement:


    if ( x != 0 && 10 / x < 2 ){
    cout << "10 / x is less than...
Results 1 to 15 of 15