Compare commits
1
Commits
bintree
...
e4477b08dc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4477b08dc
|
@@ -39,6 +39,9 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
int exitCode = EXIT_FAILURE;
|
int exitCode = EXIT_FAILURE;
|
||||||
|
|
||||||
|
// set seed
|
||||||
|
srand(time(NULL));
|
||||||
|
|
||||||
if(argc != 2)
|
if(argc != 2)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Usage: %s <player name>\n", argv[0]);
|
fprintf(stderr, "Usage: %s <player name>\n", argv[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user