admin

Drawing Arithmatic Functions Graphically like 2x^2 in c++

by Mamoon ur Rasheed draws graph,it can also store values for future use. it can draw upto 100 graphs of different functions at one time. hope Fully it will help begineers a lot to learn. it only takes value like x,2x^2. #include<iostream.h> #include<conio.h> #include<stdlib.h> #include<graphics.h> #include<string.h> #include<fstream.h> #include<dos.h> int i; ////////////////this class will make the …

Drawing Arithmatic Functions Graphically like 2x^2 in c++ Read More »

SUDOKU in c++

By Anil Sharma The game of sudoku designed in C++. It is the same game where the program sets you the game and you need to win with the same sudoku rules. /* SU DOKU */ #include <iostream.h> void main() { int k[9][9],K[9][9]; int i,j,i1,j1,i2,j2; int error,temp; int count=0; for(i=0;i<9;i++) for(j=0;j<9;j++) K[i][j]=0; for(i=0;i<9;i++) for(j=0;j<9;j++) { …

SUDOKU in c++ Read More »

Easy Calculator in c++

A decent calculator by Anirudh Sanyal that performs all the arithmetical operations of a normal calculator. Can be used to study various basic coding concepts by beginners. Provides addition subtraction multiplication and division functionality in C++. #include<iostream.h> #include<conio.h> #include<math.h> void main() { long double x,y; char ch,ar; do { clrscr(); cout<<” *WELCOME TO NANU’S CALCULATOR* …

Easy Calculator in c++ Read More »

A Card Game in c++

By Anand T S A decent card game with 2 players and cpu. Two human players can play with the cpu in this decent card game in C++. #include<iostream.h> #include<dos.h> #include<conio.h> #include<dos.h> #include<graphics.h> #include<stdlib.h> #include<stdio.h> #include<string.h> void*image1; void*image; float a[51],bp[40],cp[40],dp[40]; int key,car=5,var,next,esc,taken,chum,remark,bli=3,k,number,q,marksum,mon,kal= 0,jai[3],sub,symb,dont,chance=2,repe=0,repeat=0; int shuf,player=1,guess,remain=0,count=0,mark[3]; float play[3],greatest,great=232,small,remai,in1[3],in2[3],in3[3]; char wini[4][35]={” You have done it man. Well …

A Card Game in c++ Read More »