Thursday, 4 April 2019

Develop a library for performing various Matrix operations. Use templates to make them generalized for any data type.



Wednesday, 3 April 2019


Dining Philosophers Problem in Operating System in C 




Develop an object-oriented application to perform all the basic operations like insert, delete, search on a binary tree.



Saturday, 9 February 2019

PERIODIC TABLE in C++

SOURCE CODE
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<ctype.h>
#include<process.h>
#include<string.h>
#include<fstream.h>


Saturday, 2 February 2019

Dragon Game Google Chrome



Source Code:

#include<stdio.h>
#include<dos.h>
#include<stdlib.h>
#include<conio.h>
void getup()
{
textcolor(BLACK);
textbackground(15);
clrscr();
window(10,2,70,3);
cprintf("Press X to Exit, Press Space to Jump");
window(62,2,80,3);
cprintf("SCORE : ");
window(1,25,80,25);
for(int x=0;x<79;x++)
cprintf("ß");
textcolor(0);
}

int t,speed=40;
void ds(int jump=0)
{
static int a=1;

if(jump==0)
t=0;
else if(jump==2)
t--;
else t++;
window(2,15-t,18,25);
cprintf("                 ");
cprintf("         ÜÛßÛÛÛÛÜ");
cprintf("         ÛÛÛÛÛÛÛÛ");
cprintf("         ÛÛÛÛÛßßß");
cprintf(" Û      ÜÛÛÛÛßßß ");
cprintf(" ÛÛÜ  ÜÛÛÛÛÛÛÜÜÜ ");
cprintf(" ßÛÛÛÛÛÛÛÛÛÛÛ  ß ");
cprintf("   ßÛÛÛÛÛÛÛß     ");
if(jump==1 || jump==2){
cprintf("    ÛÛß ßÛ       ");
cprintf("    ÛÜ   ÛÜ      ");
}else if(a==1)
{
cprintf("    ßÛÛß  ßßß    ");
cprintf("      ÛÜ         ");
a=2;
}
else if(a==2)
{
cprintf("     ßÛÜ ßÛ      ");
cprintf("          ÛÜ     ");
a=1;
}
cprintf("                ");
delay(speed);
}
void obj()
{
static int x=0,scr=0;
if(x==56 && t<4)
{
scr=0;
speed=40;
window(36,8,60,9);
cprintf("Game Over");
getch();
window(36,8,60,9);
cprintf("         ");
}
window(74-x,20,80-x,25);
cprintf("Û    Û ");
cprintf("Û    Û ");
cprintf("ÛÜÜÜÜÛ ");
cprintf("  Û    ");
cprintf("  Û  " );
x++;
if(x==73)
{
x=0;
scr++;
window(70,2,80,3);
cprintf("     ");
window(70,2,80,3);
cprintf("%d",scr);
if(speed>20)
speed--;
}
}
void main()
{
char ch;
int i;
getup();
while(1){
while(!kbhit())
{
ds();
obj();
}
ch=getch();
if(ch==' ')
{
for(i=0;i<10;i++)
{
ds(1);
obj();
}
for(i=0;i<10;i++)
{
ds(2);
obj();
}
}
else if (ch=='x')
return;
} //outer while
}

Friday, 25 January 2019


Bisection Method

Write C program of the equation x = cos x, using the bisection method.


SOURCE CODE:




Bisection Method

Find a root of the equation x3 − 5x + 3=0, using the bisection method and develop the C program for it.


SOURCE CODE:


Tuesday, 15 January 2019

KITE FLYING 

In this code i have used graphics header file which helped to move our created objects.



SOURCE CODE:

Saturday, 5 January 2019

BLINKING HEART PATTERN.



This Pattern is created with the help of looping concept
this pattern is just a combination of triangle patterns 

Tuesday, 6 November 2018

Chess Game in C++. This can be used for 11th,12th and college Projects

CHESS Game In C++

This Program is totally based on chess game 
this also includes virtual chess board  

Source Code:


KBC Game in c Language. This code can be used for 11th , 12th and College Projects


KBC Game in C# Language


Program includes

Loading screen Password screen Otp screen KBC Game Code


Source Code:

#include<conio.h>
#include<stdio.h>
#include<string.h>

Thursday, 25 October 2018

Star Pattern in c/c++ programming

Normal And Reverse Star Pattern in C++
*            *
**        **
***    ***
********
source code:


Wednesday, 14 February 2018

Mine Sweeper Game in C

Mine Sweeper Game in c

Minesweeper is a single-player puzzle video game. The objective of the game is to clear a rectangular board containing hidden "mines" or bombs without detonating any of them, with help from clues about the number of neighboring mines in each field. The game originates from the 1960s, and has been written for many computing platforms in use today. It has many variations and offshoots.

SOURCE CODE

//Program password =Bhavesh

#include<conio.h>
#include<stdio.h>
#include<stdlib.h>

Saturday, 3 February 2018

Sunday, 29 October 2017

Tic Tac Toe Game IN C Language Download Source Code For Free...



Tic Tac Toe Game
Write a program that plays tic-tac-toe. The tic-tac-toe game is played on a 3x3 grid the game is played by two players, who take turns. The first player marks moves with a circle, the second with a cross. The player who has formed a horizontal, vertical, or diag-onal sequence of three marks wins. Your program should draw the game board, ask the user for the coordinates of the next mark, change the players after every successful move, and pronounce the winner. every successful move, and pronounce the winner.
SOURCE CODE

Monday, 16 October 2017

Monday, 24 July 2017

Program for passing structures to functions through call by value and call by reference.

PROGRAM
Program for passing structures to functions through call by value and call by reference.

    #include<iostream.h>
    #include<conio.h>
    #include<stdio.h>

Write a program to determine al Pythagorean triplets in the range 10 to 100. (A Pythagorean triplets is a set of three integers i, j, k such that i2+j2=k2)

PROGRAM
Write a program to determine al Pythagorean triplets in the range 10 to 100. (A Pythagorean triplets is a set of three integers i, j, k such that i2+j2=k2)

     #include <iostream.h>
     #include <conio.h>
        void main()

Program to find whether two strings contain equal number of characters.

PROGRAM
Program to find whether two strings contain equal number of characters.

    #include<iostream.h>
    #include<string.h>
    #include<conio.h>
      int main()