diff options
Diffstat (limited to 'flash.c')
-rw-r--r-- | flash.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +#include <stdio.h> +#include <stdlib.h> +#include <time.h> + +#include "cards.h" + +int main() { +loop: + srand(time(NULL)); + int n = rand() % len(cards); + + printf("%s\n", cards[n].front); + getchar(); + printf("%s\n", cards[n].back); + + goto loop; + + return 0; +} |