Monday, July 31, 2017

Telephone directory

Code for telephone directory in c #include<stdio.h> #include<string.h> #include<windows.h> #include<time.h> struct teledir {     char firstname[50];     char lastname[50];     char address[50];     char landline[15];     char mobile[15]; }td; struct signup {     char firstname[20];     char lastname[20];     char email[50];  ...

Sunday, July 30, 2017

POEM

Parents Mother, Mother You are dearer than other                                                                                                                                       Father,...

Saturday, July 29, 2017

MINI PROJECT REPORT OF DSA

Click here to downlo...

Friday, July 14, 2017

Numerical methods

C++ program for curve fitting of linear and exponential equation For linear: #include<iostream> using namespace std; class datacalc { private:     float sumxsq,sumxy,sumx,sumy;     float valuex[50],valuey[50];     float a,b;     int i,n; public:     void getdata()     {         cout<<"enter the no. of data to input:";      ...

Data structure and algorithm

Program to convert an infix to postfix in c++  #include<iostream> #include<ctype.h> #define size 50 using namespace std; char s[size]; int top=-1; push(char elem) {     s[++top]=elem; } char pop() {     return (s[top--]); } int pr(char elem) {     switch(elem)     {         case '=':return 0;         case '(':return 1;         case...

Data structure and algorithm

Program for circular queue in c++ #include<iostream> using namespace std; const int size=5; class cqueue { private:     int cq[size];     int front,rear,data; public:     cqueue()     {         front=-1;         rear=-1;     }     void insert(int n)     {         if(front==((rear+1)%size))        ...

Data structure and algorithm

Program for linear queue in c++ #include<iostream> using namespace std; const int size =5; class queue { private:     int front,rear,n;     int q[size]; public:        queue()     {         front=0;         rear=0;     }     void insert()     {         if(rear==size)         {  ...

Data structure and algorithm

Program for stack in c++ #include<iostream> using namespace std; const int size=5; class stack { private:     int top,q[size],data; public:     stack()     {         top=-1;     }     void push()     {         if(top==size-1)         {             cout<<"stack overflow"<<endl;  ...

8086 Programming

How to display a string terminated by $? TITLE DISPLAY A STRING .MODEL SMALL .STACK 32 .DATA STR1 DB ".....THE KING OF JUNGLE......$" .CODE MAIN PROC FAR MOV AX, @DATA MOV DS,AX MOV AH,09 MOV DX, OFFSET STR1 INT 21H MOV AX,4C00H INT 21H MAIN ENDP END MAIN ...

8086 programming

How to display a string using character reading function? TITLE DISPLAY STRING USING CHARACTER READING FUNCTION .MODEL SMALL .STACK 32 .DATA STR1 DB "....THE KING OF JUNGLE...." LEN DW $-STR1 .CODE MAIN PROC FAR MOV AX,@DATA MOV DS,AX MOV CX,LEN MOV AH,02 MOV BX,OFFSET STR1 L1: MOV DL,[BX] INC BX INT 21H LOOP L1 MOV AX,4C00H INT 21H MAIN ENDP END M...

8086 Programming

How to add numbers stored in consecutive memory? TITLE ADD THE DATA OF TABLE .MODEL SMALL .STACK 32 .DATA TABLE DW 1234H,4563H,7944H,1234H SUM DW ? .CODE MAIN PROC FAR MOV AX,@DATA MOV DS,AX MOV CX,04H MOV SI,OFFSET TABLE MOV AX,0000H L1:ADD AX,[SI] INC SI INC SI DEC CX JNZ L1 MOV AX,4C00H INT 21H MAIN ENDP END M...

8086 Programming

How to get string and display the string in a new line? TITLE READ AND WRITE STRING .MODEL SMALL .STACK 32 .DATA MAXCHR DB 20H ACTCHR DB ? STR1 DB 20 DUP('$') .CODE MAIN PROC FAR MOV AX,@DATA MOV DS,AX MOV AH,0AH MOV DX,OFFSET MAXCHR INT 21H MOV AH,02H MOV DL,0DH INT 21H MOV DL,0AH INT 21H MOV CL,ACTCHR MOV CH,00H MOV BX,OFFSET STR1 L1: MOV DL,[BX] INC BX INT 21H LOOP L1 MOV AX,4C00H INT 21H END M...

8086 Programming

How to get sentence as input and display each word in new line? TITLE MULTILINE .MODEL SMALL .STACK 32 .DATA MAXCHR DB 50H ACTCHR DB ? STR1 DB 50 DUP(?) .CODE MAIN PROC FAR MOV AX,@DATA MOV DS,AX MOV AH,0AH MOV DX,OFFSET MAXCHR INT 21H MOV AH,02H MOV DL,0DH INT 21H MOV DL,0AH INT 21H MOV CL,ACTCHR MOV CH,00H MOV BX,OFFSET STR1   L1:CMP BYTE PTR [BX],20H JNZ L2 MOV DL,0DH INT 21H MOV DL,0AH INT 21H INC BX L2:MOV...

8086 Programming

How to add two numbers? TITLE ADD .MODEL SMALL .STACK 32 .DATA VAL1 DW 1234H VAL2 DW 4321H SUM DW ? .CODE MAIN PROC FAR MOV AX,@DATA MOV DS,AX MOV AX,VAL1 ADD AX,VAL2 MOV SUM,AX MOV AX,4C00H INT 21H MAIN ENDP END M...

POEM

MYSTERIOUS FOREST THERE IS A FOREST  WHERE NOTHING IS IN REST WHEN WE TOUCH LEAF ANIMALS BECOME DEAF IN SPITE OF DOG, LIONS BARK IN DAY IT IS ALWAYS DARK THE WATERS ARE OF COLOR RED BY RABBIT, TIGERS ARE AFRAID NO SOUND COMES OUT THOUGH THEY HAVE MOUTH NO ONE KNOWS WHAT IS THE MYSTERY ABOU...

POEM

MY MOTHERLAND Warriors saved its sovereignty       by the use of knife this is my motherland, Lovable than my life In tradition, cast, culture, language there is diversity Despite of these differences there is strong unity Here people shows such love that it can even uproot hostility Throughout the world It has spread its identity My motherland is full of Lowland, valley and Doon For us these are...

Friday, March 10, 2017

POEM

FESTIVALS AND TRADITIONS Holi is a festival of Hinduism Any people can participate of Buddhism No Islam or Christianity will be separated Because the equality is highly exaggerated Every country has physical and cultural diversity  So we are challenged to maintain unity Every castes have customs and traditions But we should maintain unity in every variations Buddha taught us non-violence So we should always pray him with great silence Parents...

Poem

I saw a bird... It was the time of evening when I saw a bird singing  She was sitting on a lawn  having got her wonderful eyes glown Her head seemed to be brown because of a beautiful and shiny crown  Near to me there was a spring where she was continuously seeing I wondered for sometime what was there  but soon I realised her friend...

Thursday, March 9, 2017

...
...

Thursday, February 9, 2017

MY BLOG QR CODE...

...

FEW USEFUL SOURCE CODES RELATED TO DATABASE MANAGEMENT SYSTEM IN VISUAL C++ ...

To download the source code, click here. or Scan the given QR code : ...

LIBRARY MANAGEMENT SYSTEM MADE IN VISUAL C++ ...

To download the file (with source code ), click here. or Scan the given QR code: ...