I don't write C++, so I can't say. But yes I see that much is hidden from you when you write languages that are written on top of C.
Type: Posts; User: acohen
I don't write C++, so I can't say. But yes I see that much is hidden from you when you write languages that are written on top of C.
this is because of the static allocation, right? Because the static allocation means there's one copy of the data during the entire lifetime of the program?
Is John's solution, where the function...
C beginner here, so bear with me.
I have a function that does a yahtzee roll:
#include <stdlib.h>
#define DIE_SIDES 6
#define MAX_DICE_PER_ROLL 5