File: roll.cpp

package info (click to toggle)
scummvm 2.9.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 450,268 kB
  • sloc: cpp: 4,297,604; asm: 28,322; python: 12,901; sh: 11,219; java: 8,477; xml: 7,843; perl: 2,633; ansic: 2,465; yacc: 1,670; javascript: 1,020; makefile: 933; lex: 578; awk: 275; objc: 82; sed: 11; php: 1
file content (11 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (18)
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;
}