Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
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
Arrays
Operators overloading
VS2013 hello world includes
cv3
Iterate_Variac_Template
c++ pure apstraction
hangman
bad_cast
Double_wrapper vc++
No UD