Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

hangman

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 1,62 sec, absolute service time: 1,66 sec 
edit mode |  history  | discussion
Error(s):
source_file.cpp(91): error C2181: illegal else without matching if
source_file.cpp(100): error C2059: syntax error: 'const'
source_file.cpp(100): error C2143: syntax error: missing ';' before '{'
source_file.cpp(101): error C3861: 'restart': identifier not found
source_file.cpp(101): error C2065: 'state': undeclared identifier
source_file.cpp(103): error C2601: 'Model::getstate': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(104): error C2601: 'Model::go': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(117): error C2601: 'Model::loadprofile': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(118): error C2601: 'Model::putview': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(119): error C2601: 'Model::putcontroller': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(122): error C2601: 'Model::display': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(125): error C2601: 'Model::winner': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(128): error C2601: 'Model::loser': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(131): error C2601: 'Model::gameover': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(134): error C2601: 'Model::getwrong': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(135): error C2601: 'Model::getright': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(136): error C2601: 'Model::loadword': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(137): error C2601: 'Model::restart': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(150): error C2601: 'Model::guess2': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(157): error C2601: 'Model::getcode': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(158): error C2601: 'Model::getlastcorrect': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(159): error C2601: 'Model::getlastguess': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(160): error C2601: 'Model::guess': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(175): error C2601: 'Model::getdisplay': local function definitions are illegal
source_file.cpp(73): note: this line contains a '{' which has not yet been matched
source_file.cpp(178): error C2275: 'Model': illegal use of this type as an expression
source_file.cpp(31): note: see declaration of 'Model'
source_file.cpp(179): error C2059: syntax error: ';'
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64