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...
Type: Posts; User: TheStreet
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...
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...
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.
...
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...
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...
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...
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...
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
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...