File: roll.cpp

package info (click to toggle)
cxxtest 4.4%2Bgit230824-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,836 kB
  • sloc: cpp: 9,570; python: 9,553; xml: 435; sh: 258; ruby: 229; makefile: 86; ansic: 68; perl: 16
file content (11 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>
#include "Dice.h"

int main()
{
    Dice dice;
    printf("First roll: %u\n", dice.roll());
    printf("Second roll: %u\n", dice.roll());

    return 0;
}