Sunday, August 17, 2008

THE WORLD TRADE CENTRE TRICK

This is something that i stuck upon while surfing through the net which reminded me of the WTC incident.

  • Simply just take a text file in notepad in your computer and type in Q33N ........................
  • Then increase the font size to 72.........................
  • Change font to Wingdings

Hope u will be amazed............

Saturday, August 16, 2008

HOW TO RUN APPLICATIONS THROUGH WINDOWS COMMAND PROMPT

For running software appplication in windows in command mode
follow the following steps---

Suppose for running winamp application which is already installed.
create a playlist in winamp with a name. e.g music.m3u

step1: firstly open the command prompt from start menu create
a batch file in the c drive with extension .bat for example mp3.bat.
Batch file can be created by command edit mp3.bat

step2: after the batch file has been created type the following
command as shown in mp3.bat:

cd "Program Files"
cd Winamp
winamp.exe music.m3u
cd \

step3: after this save the file and type mp3 at c prompt and see
the application running.




Monday, July 14, 2008

SWAP NOs USING BITWISE

#include
main()
{
int a,b;
printf("ENTER VALUES FOR a and b\n");
scanf("%d%d",&a,&b);
printf("a is %d\n",a);
printf("b is %d\n",b);
a=a^b;
b=a^b;
a=a^b;
printf("a is%d\n",a);
printf("b is%d\n",b);
}

C PROGRAM ON PEMUTATION OF STRINGS

void prm(char s[],int begin,int end)
{
char t;
int k;
if(begin==end)
{
printf("%s",s);
return;
}
for(k=begin;k<=end;k++) { t=s[begin],s[begin]=s[k],s[k]=t; prm(s,begin+1,end); t=s[begin],s[begin]=s[k],s[k]=t; } } main() { char s[100]; printf("Enter the string\n"); scanf("%s",s); prm(s,0,strlen(s)-1); }