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

hangman

Language: Layout:
+ ] Compiler args - ] Show input
Compilation time: 1,8 sec, absolute running time: 20,14 sec, absolute service time: 21,94 sec 
edit mode |  history  | discussion
Warning(s):
/LIBPATH:C:\boost_1_60_0\stage\lib 
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64
Error(s):
Process killed because it ran longer than 20 seconds
Enter a user name: 0 wrong, 0 right.



________
Enter a guess: 
c
1 wrong, 0 right.

 o

________
No c
Enter a guess: 
d
2 wrong, 0 right.

 o
 |

________
No d
Enter a guess: 
e
2 wrong, 1 right.

 o
 |

E_E_____
Yes 2 e
Enter a guess: 
l
2 wrong, 2 right.

 o
 |

ELE_____
Yes 1 l
Enter a guess: 
e
2 wrong, 3 right.

 o
 |

ELE_____
Yes 2 e
Enter a guess: 
p
2 wrong, 4 right.

 o
 |

ELEP____
Yes 1 p
Enter a guess: 
b
3 wrong, 4 right.

 o
 |
/

ELEP____
No b
Enter a guess: 
h
3 wrong, 5 right.

 o
 |
/

ELEPH___
Yes 1 h
Enter a guess: 
a
3 wrong, 6 right.

 o
 |
/

ELEPHA__
Yes 1 a
Enter a guess: 
n
3 wrong, 7 right.

 o
 |
/

ELEPHAN_
Yes 1 n
Enter a guess: 
t
Play again?(y/n) 

    
                
stackse - search stackoverflow differently