It is a simple project just to provide a Hang Man game concept.In this project I haven’t draw a man for a wrong choice so,try to draw a simple man by using “|” pattern in your project which make your project better .
Here is the source code ,copy and compile it in Code::blocks gcc compiler.
PROGRAM:
#include <iostream> #include <cstdlib> #include <cstdio> #include <fstream> #include <cstring> using namespace std; inline void type_of_word(char f); int main() { char c,h,ch,ch1,ch2; char word[25]; char word2[25]; int l,i,ng,n,k,x; do{ do{ c='