Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Hangman
#include <iostream> #include <string.h> const int MAXLEN=256; class Model { char word[MAXLEN]; char chosen[MAXLEN]; int wrong, right; char right[MAXLEN]; public: int restart(char* word) { strcpy(this.word,word); wrong=0; right=0; return 0; } int guess(char c) { Model(int wordlen, int maxguesses) int main() { std::cout << "Hello, world!\n"; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
c++functor
Matrix_1
Even Odd
#22.1
hangman
Dequeue Using STL List
Project
MSVC14 <experimental/generator> header
algorithm_1
Two-phase sample with Visual C++ 2015
Please log in to post a comment.