Nov 29, 2014
Nov 17, 2014
Nov 16, 2014
How To Increase Performance Of Your PC
How To Increase Performance Of Your PC
If you need a single solution to take care of everything,
try TuneUp Utilities (www.tune-up.com).
As you install more programs, you might notice that your PC takes longer to
boot up. This happens because many applications and services automatically
initialise during the boot process. Tune Up Utilities can analyses your
PC’s boot up time and removes unnecessary startup programs. It even lets you
individually select the programs you want to remove from startup. MAC users can
do the same by going to System Preferences > Accounts > Login Items and
removing applications that you do not want to open automatically when you log
in.
As you install more programs, you might notice that your PC takes longer to boot up. This happens because many applications and services automatically initialise during the boot process. Tune Up Utilities can analyses your PC’s boot up time and removes unnecessary startup programs. It even lets you individually select the programs you want to remove from startup. MAC users can do the same by going to System Preferences > Accounts > Login Items and removing applications that you do not want to open automatically when you log in.
Nov 15, 2014
A Poem on Green Color
Green Colour
(A poem by: Paawan Prashad Bhatt)
Hello friend, look around
and tell me
what do you find.
What do you see
the tree leaves are covered
that is speciality of Parrot, a bird.
That is used in traffic signal
to allow the vehicles for going
which is always near us
when we are roaming.
It's beauty can't be measured
but it is not found in the desert
which we find in the beautiful places
which is the mirror of nature's faces.
Because of it trees can make food
It gives us energy
and keeps our health good
so it should be always
in our food.
But fire can change it into ass
what is this
do you guess??
Answer is green color.
(Written by: Paawan Prashad Bhatt)
Nov 14, 2014
A Game made by using C language to find the name that you have thought.
A Game made by using C language to find the name that you have thought.
(This software is made by a BCA's Student :Paawan Prashad Bhatt)
#include<stdio.h>
#include<conio.h>
#include<process.h>
#include<graphics.h>
void main()
{
int n,i,j,column[50],k;
char alphabet1[][5]={"ABCDE","FGHIJ","KLMNO","PQRST","UVWXY","Z"},alphabet2[50][6],alphabet3[50][50],next='y';
int gd=DETECT,gm;
initgraph(&gd,&gm,"c:\\turboc3\\bgi");
setbkcolor(BLUE);
printf("\n\t\t*************************************************");
printf("\n\t\t*************************************************");
printf("\n\t\t *********MIRACLE KI DUNIYA ME WELCOME*********");
printf("\n\t\t*************************************************");
printf("\n\t\t*************************************************");
printf("\n\t\t*************************************************");
printf("\n\t\t*************************************************");
aa:
printf("\n\n\nPlease think of a word. You can think noun, pronoun, verb, adjective or anything that you want.");
printf("\n\nNow please tell me, how many letters word you have thought \?\n");
scanf("%d",&n);
printf("\n\n");
//Displaying A to Z.
printf("0\t1\t2\t3\t4\n");
for(i=0;i<6;i++)
{
for(j=0;j<5;j++)
printf("%c\t",alphabet1[i][j]);
printf("\n");
}
//Asking Questions about column(1)
for(i=0;i<n;i++)
{
printf("\n\nIn which column the %d letter of the word you have thought is \?\n",i+1);
scanf("%d",&column[i]);
}
printf("\n\n");
//Displaying and storing first artificial alphabet matrix.
printf("0\t1\t2\t3\t4\t5\n");
for(i=0;i<n;i++)
{
for(j=0;j<5;j++)
{
if(j==column[i])
for(k=0;k<6;k++)
{
printf("%c\t",alphabet1[k][j]);
alphabet2[i][k]=alphabet1[k][j];
}
}
printf("\n");
}
//Asking questions about column(2)
for(i=0;i<n;i++)
{
printf("\n\nIn which column the %d letter of the word you have thought is \?\n",i+1);
scanf("%d",&column[i]);
}
//Storing second artificial alphabet matrix.
for(i=0;i<n;i++)
{
for(j=0;j<6;j++)
{
if(j==column[i])
for(k=0;k<n;k++)
alphabet3[i][k]=alphabet2[k][j];
}
}
printf("\n\nSuper program is sending singal to your mind...\n\n");
printf("Super program is reading your mind...\n\n");
printf("Super program is fetching data from your mind...\n\n");
//Displaying the answer.
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{
if(i==j)
printf("%c",alphabet3[i][j]);
}
}
printf("\n\nDo you want to play again\?(y/n)");
next=getche();
if(next=='y'||next=='Y')
{
goto aa;
}
else
exit(0);
getch();
}
A C program to make your laptop a WIFI HOTSPOT and to use internet from Dial-Up connection.
A C program to make your laptop a WIFI HOTSPOT and to use internet from Dial-Up connection.
Believe me it's true.(Note after running this software you have to do some additional things.
1. Type Windows+R.
2. Type ncpa.cpl
3. Select the connection from which now your laptop is connected with internet.
(For eg: Dail-up connection, Ethernet etc.)
4. Right click on it.
5. Click on properties.
6. Click on sharing button.
7. Select "Allow other network users to connect through this computer's Internet connection"
8. Select "Local Area Connection" from "Home networking connection".
9.Click on OK.
Thank You
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int t=0,i;
void frame(void);
void main()
{
int c;
start0:
clrscr();
textcolor(5+t);
gotoxy(40,8);
cprintf("Please Run this program as");
gotoxy(40,9);
cprintf("Administrator.");
gotoxy(40,13);
cprintf("Right Click on Program-> ");
gotoxy(40,14);
cprintf("Run as Administrator.");
start:
frame();
cprintf("Enter choice : ");
gotoxy(27,23);
scanf("%d",&c);
textcolor(5+t);
switch(c)
{
case 1: //set hotspot
system("netsh wlan set hostednetwork mode=allow ssid=Hotspot key=vgecvgec keyusage=persistent");
clrscr();
gotoxy(40,8);
cprintf("Done !!! Hotspot Set !!!");
gotoxy(40,9);
cprintf("Now you can start Hotspot");
gotoxy(40,11);
cprintf("Name : Hotspot");
gotoxy(40,12);
cprintf("Password : vgecvgec");
gotoxy(40,14);
cprintf("To start Hotspot Use option 2");
goto start;
case 2: //start hotspot
system("netsh wlan start hostednetwork");
clrscr();
gotoxy(40,8);
cprintf("Started Successfully.");
gotoxy(40,11);
cprintf("Name : Hotspot");
gotoxy(40,12);
cprintf("Password : vgecvgec");
gotoxy(40,20);
cprintf("Not Started ?");
gotoxy(40,22);
cprintf("Please See Help.");
goto start;
case 3: //stop hotspot
system("netsh wlan stop hostednetwork");
clrscr();
gotoxy(40,8);
cprintf("Stopped Successfully.");
goto start;
case 4:
t++;
if(t>=4){t=0;}
goto start0;
case 5:
clrscr();
gotoxy(39,8);
cprintf("Follow Steps to use Hotspot :");
gotoxy(39,10);
cprintf("1. Run Program as Administrator.");
gotoxy(39,11);
cprintf("2. Set up Hotspot If using");
gotoxy(39,12);
cprintf(" first time");
gotoxy(39,13);
cprintf("3. Start Hotspot and Use.");
gotoxy(39,14);
cprintf("4. stop Hotspot");
gotoxy(40,17);
cprintf("Name : Hotspot");
gotoxy(40,18);
cprintf("Password : vgecvgec");
gotoxy(39,21);
cprintf("For more enter 51.");
goto start;
case 51:
clrscr();
gotoxy(39,8);
cprintf("How to connect Another Net");
gotoxy(39,9);
cprintf("Connection with Hotspot.");
gotoxy(39,11);
cprintf("1. Open Network and sharing");
gotoxy(39,12);
cprintf(" centre->Change Adpter");
gotoxy(39,13);
cprintf(" Settings->");
gotoxy(39,14);
cprintf("2. Now Right Click on Adpter");
gotoxy(39,15);
cprintf(" which has internet.");
gotoxy(39,16);
cprintf("3. In sharing tab, check both");
gotoxy(39,17);
cprintf(" box. Now Open settings and");
gotoxy(39,18);
cprintf(" check all boxes.");
gotoxy(39,21);
cprintf("For more queries Contact Me.");
gotoxy(39,22);
cprintf("See About.");
goto start;
case 6:
clrscr();
gotoxy(40,7);
cprintf("=============================");
gotoxy(40,8);
cprintf(" Bhargav K Patel ");
gotoxy(40,9);
cprintf("=============================");
gotoxy(40,13);
cprintf("Email : ");
gotoxy(40,15);
cprintf(" bhargav079@gmail.com");
gotoxy(40,18);
cprintf("Facebok : ");
gotoxy(40,20);
cprintf(" www.facebook.com/olodoio");
goto start;
case 7:
exit (0);
default:
clrscr();
gotoxy(40,8);
cprintf("Invalid Choice.");
goto start;
}
}
void frame(void)
{
textcolor(2+t);
for(i=5;i<=70;i++)
{
gotoxy(i,1);
cprintf("%c",220);
}
for(i=5;i<=70;i++)
{
gotoxy(i,24);
cprintf("%c",220);
}
for(i=2;i<=24;i++)
{
gotoxy(5,i);
cprintf("%c",219);
}
for(i=2;i<=24;i++)
{
gotoxy(70,i);
cprintf("%c",219);
}
textcolor(1+t);
for(i=6;i<=69;i++)
{
gotoxy(i,5);
cprintf("%c",254);
}
for(i=6;i<=34;i++)
{
gotoxy(i,21);
cprintf("%c",22);
}
textcolor(9+t);
for(i=6;i<=23;i++)
{
gotoxy(35,i);
cprintf("%c%c",204,185);
}
textcolor(12-t);
gotoxy(25,3);
cprintf("Hotspot for Windows 7/8");
textcolor(14-t);
gotoxy(8,7);
cprintf("1. Set for first use");
gotoxy(8,9);
cprintf("2. Start Hotspot");
gotoxy(8,11);
cprintf("3. Stop Hotspot");
gotoxy(8,13);
cprintf("4. Change Color theme");
gotoxy(8,15);
cprintf("5. Help");
gotoxy(8,17);
cprintf("6. About");
gotoxy(8,19);
cprintf("7. Exit");
gotoxy(8,23);
textcolor(24-t);
return;
}
Matrix calculator to calculate addition, subtraction and multiplication of two matrixes using C language.
(Note: This C program was
made by Paawan Prashad Bhatt.)
#include<stdio.h>
#include<conio.h>
#include<process.h>
#include<graphics.h>
#include<dos.h>
void menu();
void input(int [][5],int
[][5]);
void display();
void addition(int
[][5],int [][5]);
void subtraction(int
[][5],int [][5]);
void multiplication(int
[][5],int [][5]);
void transpose(int
[][5],int [][5]);
void elementssum(int
[][5],int [][5]);
void diagnol_elements(int
[][5],int [][5]);
void
sum_diagnol_elements(int [][5],int [][5]);
void
product_diagnol_elements(int [][5],int [][5]);
void sum_upper_triangular_matrix(int
[][5],int [][5]);
void
sum_lower_triangular_matrix(int [][5],int [][5]);
void finish();
void quit();
int
i,j,r1,c1,r2,c2,m1[5][5],m2[5][5];
void main()
{
int
gd=DETECT, gm;
initgraph(&gd,&gm,"c:\\turboc3\\bgi");
setbkcolor(RED);
printf("\n\t\t*************************************************");
printf("\n\t\t*************************************************");
printf("\n\t\t******MATRIX CALCULATOR KI DUNIYA ME WELCOME*****");
printf("\n\t\t*************************************************");
settextstyle(3,1,4);
setcolor(GREEN);
outtext("Paawan");
settextstyle(3,0,4);
outtextxy(250,63,"Prashad");
settextstyle(3,1,4);
outtextxy(550,10,"Bhatt");
//sleep(2);
input(m1,m2);
menu();
getch();
}
void menu()
{
int
choice=0;
printf("\n\t\t*************************************************");
printf("\n\t\t*********************MENU************************");
printf("\n\t\t*************************************************");
printf("\n\t\t\t\t1. To Display Matrix ");
printf("\n\t\t\t\t2. To Add Matrix");
printf("\n\t\t\t\t3. To Subtract Matrix");
printf("\n\t\t\t\t4. To Multiply Matrix");
printf("\n\t\t\t\t5. To Transpose Matrix");
printf("\n\t\t\t\t6. To Get All Elements Sum");
printf("\n\t\t\t\t7. To Get Diagnol Elements");
printf("\n\t\t\t\t8. To Get Diagnol Elements Sum");
printf("\n\t\t\t\t9. To Get Diagnol Elements Product");
printf("\n\t\t\t\t10. To Get Sum of Upper Triangular Matrix");
printf("\n\t\t\t\t11. To Get Sum of Lower Triangular Matrix");
printf("\n\t\t\t\t12. To Quit");
printf("\n\n\tEnter your choice between 1 to 12 :
");
scanf("%d",&choice);
if(choice==1)
{
display();
}
else
if(choice==2)
{
addition(m1,m2);
}
else
if(choice==3)
{
subtraction(m1,m2);
}
else
if(choice==4)
{
multiplication(m1,m2);
}
else
if(choice==5)
{
transpose(m1,m2);
}
else
if(choice==6)
{
elementssum(m1,m2);
}
else
if(choice==7)
{
diagnol_elements(m1,m2);
}
else
if(choice==8)
{
sum_diagnol_elements(m1,m2);
}
else
if(choice==9)
{
product_diagnol_elements(m1,m2);
}
else
if(choice==10)
{
sum_upper_triangular_matrix(m1,m2);
}
else
if(choice==11)
{
sum_lower_triangular_matrix(m1,m2);
}
else
if(choice==12)
{
quit();
}
else
printf("\nInvalid choice. Please input choice between 1 and 5.");
}
void input(int m1[][5],int
m2[][5])
{
printf("\n\n\nEnter size of first matrix:-\n");
scanf("%d%d",&r1,&c1);
printf("\nEnter the elements of first matrix:-\n");
for(i=0;i<r1;i++)
for(j=0;j<c1;j++)
scanf("%d",&m1[i][j]);
printf("\nEnter size of second matrix:-\n");
scanf("%d%d",&r2,&c2);
printf("\nEnter the elements of second matrix:-\n");
for(i=0;i<r2;i++)
for(j=0;j<c2;j++)
scanf("%d",&m2[i][j]);
}
void display()
{
printf("\nThe first matrix is:-\n");
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
printf("%d\t",m1[i][j]);
printf("\n\n");
}
printf("\nThe second matrix is:-\n");
for(i=0;i<r2;i++)
{
for(j=0;j<c2;j++)
printf("%d\t",m2[i][j]);
printf("\n\n");
}
finish();
}
void addition(int
m1[][5],int m2[][5])
{
int
sum[5][5];
if(r1==r2&&c1==c2)
{
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
sum[i][j]=m1[i][j]+m2[i][j];
}
printf("\nAfter addition:\n");
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
printf("%d\t",sum[i][j]);
printf("\n\n");
}
}
else
printf("\nSum is not possible because matrixs are not equal.");
finish();
}
void subtraction(int
m1[][5],int m2[][5])
{
int
sub[5][5];
if(r1==r2&&c1==c2)
{
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
sub[i][j]=m1[i][j]-m2[i][j];
}
printf("\nAfter subtraction:\n");
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
printf("%d\t",sub[i][j]);
printf("\n\n");
}
}
else
printf("\nSubtraction is not possible because matrixs are not
equal.");
finish();
}
void multiplication(int
m1[][5],int m2[][5])
{
int
k,addition,m3[5][5];
if(c1==r2)
{
printf("\nAfter multiplication:\n");
for(i=0;i<r1;i++)
{
for(j=0;j<c2;j++)
{
addition=0;
for(k=0;k<c1;k++)
addition=addition+m1[i][k]*m2[k][j];
m3[i][j]=addition;
printf("%d\t",m3[i][j]);
}
printf("\n\n");
}
}
else
printf("\nMultiplication is not possible because c1!=c2");
finish();
}
void transpose(int
m1[][5],int m2[][5])
{
printf("\nTranspose of first matrix is:-\n");
for(i=0;i<c1;i++)
{
for(j=0;j<r1;j++)
printf("%d\t",m1[j][i]);
printf("\n\n");
}
printf("\nTranspose of second matrix is:-\n");
for(i=0;i<c2;i++)
{
for(j=0;j<r2;j++)
printf("%d\t",m2[j][i]);
printf("\n\n");
}
finish();
}
void elementssum(int
m1[][5],int m2[][5])
{
int
sum=0;
printf("\nSum of elements of first matrix:-\n");
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
sum=sum+m1[i][j];
}
printf("%d",sum);
printf("\n\nSum of elements of second matrix:-\n");
sum=0;
for(i=0;i<r2;i++)
{
for(j=0;j<c2;j++)
sum=sum+m2[i][j];
}
printf("%d",sum);
finish();
}
void diagnol_elements(int
m1[][5],int m2[][5])
{
if(r1==c1)
{
printf("\nDiagnol elements of first matrix
are:-\n");
{
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
if(i==j)
printf("%d\n",m1[i][j]);
}
}
}
else
printf("\n\nFirst matrix is not square matrix!!!");
if(r2==c2)
{
printf("\nDiagnol elements of second matrix
are:-\n");
for(i=0;i<r2;i++)
{
for(j=0;j<c2;j++)
if(i==j)
printf("%d\n",m2[i][j]);
}
}
else
printf("\n\nSecond matrix is not square matrix!!!");
finish();
}
void
sum_diagnol_elements(int m1[][5],int m2[][5])
{
int
sum=0;
if(r1==c1)
{
printf("\nSum of diagnol elements of first matrix
is:-\n" );
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
if(i==j)
sum=sum+m1[i][j];
}
printf("%d",sum);
}
else
printf("\n\nFirst matrix is not square matrix!!!");
if(r2==c2)
{
sum=0;
printf("\nSum of diagnol elements of second matrix
is:-\n" );
for(i=0;i<r2;i++)
{
for(j=0;j<c2;j++)
if(i==j)
sum=sum+m2[i][j];
}
printf("%d",sum);
}
else
printf("\n\nSecond matrix is not square matrix!!!");
finish();
}
void
product_diagnol_elements(int m1[][5],int m2[][5])
{
int
pro=1;
if(r1==c1)
{
printf("\nProduct of diagnol elements of first matrix
is:-\n" );
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
if(i==j)
pro=pro*m1[i][j];
}
printf("%d",pro);
}
else
printf("\n\nFirst matrix is not square matrix!!!");
if(r2==c2)
{
pro=1;
printf("\nSum of diagnol elements of second matrix
is:-\n" );
for(i=0;i<r2;i++)
{
for(j=0;j<c2;j++)
if(i==j)
pro=pro*m2[i][j];
}
printf("%d",pro);
}
else
printf("\n\nSecond matrix is not square matrix!!!");
finish();
}
void
sum_upper_triangular_matrix(int m1[][5],int m2[][5])
{
int
sum=0;
printf("\nThe sum of upper triangular elements of first matrix
is:-\n");
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
if(i<=j)
sum=sum+m1[i][j];
}
printf("%d",sum);
printf("\n\nThe sum of upper triangular elements of second matrix
is:-\n");
sum=0;
for(i=0;i<r2;i++)
{
for(j=0;j<c2;j++)
if(i<=j)
sum=sum+m2[i][j];
}
printf("%d",sum);
finish();
}
void
sum_lower_triangular_matrix(int m1[][5],int m2[][5])
{
int
sum=0;
printf("\nThe sum of lower triangular elements of first matrix
is:-\n");
for(i=0;i<r1;i++)
{
for(j=0;j<c1;j++)
if(i>=j)
sum=sum+m1[i][j];
}
printf("%d",sum);
printf("\n\nThe sum of lower triangular elements of second matrix
is:-\n");
sum=0;
for(i=0;i<r2;i++)
{
for(j=0;j<c2;j++)
if(i>=j)
sum=sum+m2[i][j];
}
printf("%d",sum);
finish();
}
void finish()
{
char
next='y';
printf("\n Do you want to input another matrix(y/n)\?");
next=getche();
if(next=='y'||next=='Y')
{
input(m1,m2);
menu();
}
else
quit();
}
void quit()
{
exit(0);
}
Subscribe to:
Posts (Atom)