In Windows Operating System
You cannot create a folder in any part of the computer with the name 'con'.
Create a new folder by Right Click-> New -> Folder
Then Right Click on it and check whether you can change it to the name 'con'.
I do not know the REASON for this. If you can,answer me.
All your suggestions are most welcome.
Sunday, May 30, 2010
Thursday, May 27, 2010
A C Program to find the given sring is Palindrome or not Without using String Functions
#include"iostream.h"
#include"stdio.h"
#include"conio.h"
void main()
{
int i=0,j=0,n=0,cnt=0;
char a[20],b[20];
clrscr();
printf(" ENTER THE STRING : ");
cin>> a >> b;
//TO FIND THE LENGTH WITHOUT USING STRLEN() FUNCTION
while(a[n] != '\0')
n = n+1;
//TO REVERSE THE STRING WITHOUT USING STRREV() FUNCTION
for(i=n-1;i > = 0 ; i--)
{
b[j] = a[i];
j++;
}
//TO COMPARE THE STRINGS WITHOUT USING STRCMP() FUNCTION
for( i = 0;i < n; i ++)
{
if(a[i] == b[i])
{
cnt++;
}
else
{
printf("GIVEN STRING IS NOT A PALINDROME");
break;
}
}
if(cnt == n)
{
printf("GIVEN STRING IS A PALINDROME");
}
getch();
}
#include"stdio.h"
#include"conio.h"
void main()
{
int i=0,j=0,n=0,cnt=0;
char a[20],b[20];
clrscr();
printf(" ENTER THE STRING : ");
cin>> a >> b;
//TO FIND THE LENGTH WITHOUT USING STRLEN() FUNCTION
while(a[n] != '\0')
n = n+1;
//TO REVERSE THE STRING WITHOUT USING STRREV() FUNCTION
for(i=n-1;i > = 0 ; i--)
{
b[j] = a[i];
j++;
}
//TO COMPARE THE STRINGS WITHOUT USING STRCMP() FUNCTION
for( i = 0;i < n; i ++)
{
if(a[i] == b[i])
{
cnt++;
}
else
{
printf("GIVEN STRING IS NOT A PALINDROME");
break;
}
}
if(cnt == n)
{
printf("GIVEN STRING IS A PALINDROME");
}
getch();
}
Friday, May 14, 2010
MY SUGGESTIONS FOR BCCI AND INDIAN T20 TEAM
Strength of all other teams in world cricket is their fast bowlers
(Speed generated by them are given approximately in average)
AUSTRALIA - Shaun Tait - 155kmph
Mitchell Johnson - 150kmph
Dirk Nannes - 145kmph etc etc
SOUTH AFRICA - Daryl Steyn - 150kmph
Morne Morkel - 145kmph
NEW ZEALAND - Shane Bond - 150kmph
In this way every team has good fast bowlers and also other swing bowlers.
But Our team does not have any such bowlers who are really consistent. Clearly We have seen that INDIAN'S are struggling to hit face bowlers like above mentioned.(especially short pitch ball).
India is in a situation where it desperately need a couple of young guns who can bowl more than 145kmph CONSISTENTLY!.
If India get such a bowlers, indians can practise the fast bowlers short pitch tactics as well as they can make the opponent batsmans tremble as all the other teams.
So my only suggestion is India need a couple of fast bowlers. A Training program should be made and properly monitered under the supervision of legends like KAPIL DEV etc etc to make India successfull in the World's stage.
(Speed generated by them are given approximately in average)
AUSTRALIA - Shaun Tait - 155kmph
Mitchell Johnson - 150kmph
Dirk Nannes - 145kmph etc etc
SOUTH AFRICA - Daryl Steyn - 150kmph
Morne Morkel - 145kmph
NEW ZEALAND - Shane Bond - 150kmph
In this way every team has good fast bowlers and also other swing bowlers.
But Our team does not have any such bowlers who are really consistent. Clearly We have seen that INDIAN'S are struggling to hit face bowlers like above mentioned.(especially short pitch ball).
India is in a situation where it desperately need a couple of young guns who can bowl more than 145kmph CONSISTENTLY!.
If India get such a bowlers, indians can practise the fast bowlers short pitch tactics as well as they can make the opponent batsmans tremble as all the other teams.
So my only suggestion is India need a couple of fast bowlers. A Training program should be made and properly monitered under the supervision of legends like KAPIL DEV etc etc to make India successfull in the World's stage.
Subscribe to:
Posts (Atom)