Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int s = strlen(SCORE_MESSAGE) * sizeof(char) + sizeof(uint16_t) + 16; // 16 is arbritary to make it work.
- char moves[s];
- snprintf(moves, s, SCORE_MESSAGE, gs->gameMoves);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement