Search:

Type: Posts; User: TheStreet

Search: Search took 0.00 seconds.

  1. Hi Nominal Animal Your explanation was...

    Hi Nominal Animal

    Your explanation was brilliant and hugely helpful. Does the value name[player] get stored more than once please? i.e. If we want this to loop back around we have added *2 to this...
  2. Still struggling to understand this and maybe we...

    Still struggling to understand this and maybe we need to go and build a lego tower or something! But we would love to understand this. So with Click_Here's code we end up with a print out of all...
  3. Morning All Thanks for all the replies. I have...

    Morning All

    Thanks for all the replies. I have to admit to being a bit overwhelmed by Nominal Animal's code. I will be working through it with the young people. Thanks so much for posting it.
    ...
  4. Thanks Salem. Sorry for the posting code - will...

    Thanks Salem. Sorry for the posting code - will post as plain text.

    Not sure where we go from
    char playerNames[10][100];

    If you could give us pointers even to a google search that would be...
  5. We have moved on significantly this morning....

    We have moved on significantly this morning. Thanks for all the help we are receiving. The code now looks like this:



    //
    // main.c
    // Not Yours
    //
    // Created by Richard Brown on...
  6. Thanks laserlight We have removed the char...

    Thanks laserlight

    We have removed the char names they weren't doing anything and were old code. We have removed the int i =(NULL); as it was obsolete as well.

    We have added the dice=5; because...
  7. Thanks for all the help Salem. We got the loop...

    Thanks for all the help Salem. We got the loop working like this:



    //
    // main.c
    // Not Yours
    //
    // Created by Richard Brown on 12/10/2012.
    // Copyright (c) 2012 Fishfingers...
  8. Thanks Salem That has got us going. I presume...

    Thanks Salem

    That has got us going. I presume that we now need a loop to keep asking the question until the value numPlayers has finished?

    Rich
  9. Asking Questions and answers lead to if statement

    Hi All

    I am a youth worker and I have a student with me and we are learning C together. However, we are hitting snags. We are currently trying to write a programme and we are in a whole heap of...
Results 1 to 9 of 9