New Android apps UniqueKey

Monday 6 October 2014

Print "HELLO" Without using any semicolon in C



#include
main( )  
{  
  if (printf("HELLO"))  
  {  
  }  
}  


#include<stdio.h>  
main( )  
{  
   switch (printf("HELLO"))  
   {  
   }  
}


#include<stdio.h>  
main( )  
{  
  while (!printf("HELLO"))  
  {  
  }  
}

Print "HELLO" Without using printf( ) in C



#include<stdio.h>  

main( )  
{  
  puts("HELLO");  
}

Print "HELLO" Without main( ) in C



#include<stdio.h>  
#define begin main  
begin( )  
{  
   printf("hello\n");  
}

Sunday 5 October 2014

Matrix Using Notepad


 
 
 
 
 
 
 
 
 

@echo off
color 1
mode 1000
:a
echo %random%%random%%random%%random%%random%
%random%%random%%random%%random%%random%
%random%%random%%random%%random%%random%
%random%%random%%random%%random%%random%
%random%%random%

goto a

Note : type "random" any number of times that you want . 

Change color of CMD


Open command prompt . and then type following command

--> color color_code

to know about code of supporting color just type

--> help color

0 = black                               8 = gray 
1 = blue                                9 = light blue
2 = green                               A = light green
3 = aqua                                B = light aqua
4 = red                                 C = light red
5 = purple                              D = light purple
6 = yellow                              E = light yellow
7 = white                               F = bright white


Don't type "-->"

Timer Using Notepad


@echo off
echo 5
ping localhost -n 2 >nul
cls
echo 4
ping localhost -n 2 >nul
cls
echo 3
ping localhost -n 2 >nul
cls
echo 2
ping localhost -n 2 >nul
cls
echo 1
ping localhost -n 2 >nul
cls
echo time out!!!!
pause

Type this code in notepad and save as .bat file  and run.

Clock using Notepad


@echo off
:start
echo  date:%date% time:%time%
goto  start

Type this code in notepad. and save this file as .bat and run this file.