Draw a chess board using open_gl & free glut

Free glut is an open source free library which is used for graphics and game designing.You can draw the chess board using free glut. Code is below. Step_1: include open gl library but prior configure open gl with your  compiler #include <GL\freeglut.h>  Step_2: write function for initial conditions void init(void) { glClearColor(0.0, 0.5, 1.0, 0.0); … Continue reading Draw a chess board using open_gl & free glut


Words,Punctuation,Lines & Digits counter in c++

Do you want to make a word counter , a line counter or a program which counts punctuation for you. It is very easy open your compiler and get started... Step 1:- open your compiler and create a new c++ program. Step 2:- include following libraries in your program. // cctypes.cpp -- using the ctype.h library #include … Continue reading Words,Punctuation,Lines & Digits counter in c++