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
SO typeindex pretty_name
My Window
const_pointer_cast
not a parameter pack
define own struct
move swap
Program_1_rstring
constmsvc
problem_soultion2
problem_binary_4