Skip to content

Fail compilation #3

@Domosed-gamin

Description

@Domosed-gamin

Hi! Good implementation of poker. I had error of compilation.

ringo@qwerty:~/Загрузки/oopoker-master$ g++ *.cpp -W -Wall -Wextra -ansi -O3
random.cpp: In function ‘unsigned int getRandomUint()’:
random.cpp:69:5: error: ‘exit’ is not a member of ‘std’
     std::exit(1);
     ^~~

I add #include <cstdlib> in file random.cpp. I'm not programmer and I don't know what I made. But it help me. Please check out this. Maybe somebody have similar error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions