Lexical Analyzer in C

Saturday, 2 November 2013
Posted by Yasar Shaikh
/*  
      Lexical Analyzer for 'C' Language  
      Author: Yasar Shaikh  
      Lexical Analyzer: http://en.wikipedia.org/wiki/Lexical_analysis 
*/  
#include<stdio.h>  
#include<string.h>  
#include<ctype.h>  
#define MAX 1000  
int main()  
{  
     //FILE pointer for getting input file i for general index, 
     //flag for var identification  
     FILE *fp;  
     int keyIndex,preIndex,varIndex,oprIndex,i,flag;  
     char keyStore[MAX][10],preStore[MAX][10],varStore[MAX][10];  
     char oprStore[MAX],fname[80],ch,temp[80];  
     char keyword[32][20]={  
                            "auto","break","case","continue",
                            "char","const","default","do",
                            "double","else","enum","extern",
                            "float","for","goto","if",
                            "int","long","register","return",
                            "short","signed","sizeof","static",
                            "struct","switch","typedef","union",
                            "unsigned","void","volatile","while"  
                          };  
     char preprocessor[2][20]={"include","define"};  

     printf("\nEnter file name:");  
     scanf("%s",fname);  
     //opening a file in Read mode n checking for its availabilty  
     fp=fopen(fname,"r");  
     if(NULL == fp)  
     {  
          printf("\nFile not found.");  
          return 0;  
     }  

     keyIndex=varIndex=preIndex=oprIndex=0;  

     //Do operation until EOF is reached.  
     while(!feof(fp))  
     {  
          ch=fgetc(fp);  
          if(!isalnum(ch))  
               oprStore[oprIndex++]=ch;  
          else  
          {       
               //getting string  
               i=flag=0;  
               temp[i]=ch;  
               i++;  
               temp[i]=fgetc(fp);  
               while( isalnum(temp[i]) )  
                    temp[++i]=fgetc(fp);  
               temp[i]='\0';  

               fseek(fp, SEEK_CUR-2 , SEEK_CUR);  

               //checking is it a keyword/var/preprocessor  
               for(i=0;i<32;i++)  
               {  
                    //keyword checking n storing  
                    if(strcmp(temp,keyword[i]) ==0)  
                    {  
                         strcpy(keyStore[keyIndex++],temp);  
                         flag=1;  
                         break;  
                    }  
                    
                    //preprocessor checking n storing  
                    else if(strcmp(temp,preprocessor[i])==0)  
                    {  
                         strcpy(preStore[preIndex++],temp);  
                         flag=1;  
                         break;  
                    }  
               }   

               //checking for variables  
               if(!flag)  
               {  
                    strcpy(varStore[varIndex++],temp);  
                    strcpy(temp,"");  
               }  
          }   
     }  

     printf("\n******* OUTPUT *******");  
     printf("\n\nPreprocessor's List");  
     for(i=0;i<preIndex;i++)  
          printf("\n%s",preStore[i]);  

     printf("\n\nKeyword List");  
     for(i=0;i<keyIndex;i++)  
          printf("\n%s",keyStore[i]);  

     printf("\n\nVariable List");  
     for(i=0;i<varIndex;i++)  
          printf("\n%s",varStore[i]);  

     printf("\n\nOperators List");  
     for(i=0;i<oprIndex;i++)  
          printf("\n%c",oprStore[i]);       

     return 0;  
}  

/*  
  PS; You can even seperate standard header files, 
      predefined identifiers.  
      The above program mainly focus on important tokens.   
*/  

Layout Demo program in Java

Friday, 1 November 2013
Posted by Yasar Shaikh
 /*  
   Title : Program for demonstrating Layouts in Java  
   Author: Yasar Shaikh  
 */  
 import java.awt.*;  
 import java.awt.event.*;  
 import java.applet.*;  
 public class LayoutDemo extends Frame implements ActionListener  
 {  
      Button b1,b2,b3,b4,b5,b6;  
      Button l1,l2,l3;  
      CheckboxGroup cbg;  
      Checkbox c1,c3,c2;  
      Panel p1,p2,main;  
      LayoutDemo l;  
      public LayoutDemo()  
      {  
           p1=new Panel();  
           p2=new Panel();  
           main=new Panel();  
           l=this;  
           p1.setLayout(new FlowLayout());  
           p2.setLayout(new GridLayout());  
           cbg=new CheckboxGroup();  
           c1=new Checkbox("Left",cbg,false);  
           c2=new Checkbox("Center",cbg,false);  
           c3=new Checkbox("Right",cbg,false);  
           l1=new Button("Flow");  
           l2=new Button("Grid");  
           l3=new Button("Border");  
           b1=new Button("Button 1");  
           b2=new Button("Button 2");  
           b3=new Button("Button 3");  
           b4=new Button("Button 4");  
           b5=new Button("Button 5");  
           b6=new Button("Button 6");  
           p1.add(b1);          p1.add(b2);  
           p1.add(b3);          p1.add(b4);  
           p1.add(b5);          p1.add(b6);  
           p1.add(c1);p1.add(c2);p1.add(c3);  
           p2.add(l1);p2.add(l2);p2.add(l3);  
           l1.addActionListener(this);  
           l2.addActionListener(this);  
           l3.addActionListener(this);  
           main.setLayout(new BorderLayout());  
           main.add(p1,BorderLayout.NORTH);  
           main.add(p2,BorderLayout.SOUTH);  
           add(main);  
      }  
      public void actionPerformed(ActionEvent ae)  
      {  
           if(ae.getSource()==l2)  
           {  
                l.setSize(700,700);  
                repaint();  
                p1.setLayout(new GridLayout(3,3));  
           }  
           else if(ae.getSource()==l3)  
           {  
                l.setSize(800,800);  
                repaint();  
                main.add(p1,BorderLayout.WEST);  
           }  
           else  
           {  
                l.setSize(600,600);  
                repaint();  
                p1.setLayout(new FlowLayout());  
           }  
      }  
      public static void main(String ar[])  
      {  
           LayoutDemo l=new LayoutDemo();  
           l.setSize(600,600);  
           l.setVisible(true);  
      }  
 }  
 /*  
 PS: Save the above program with the name LayoutDemo.java (case-sensitive)  
     and then compile it with "javac LayoutDemo.java" command and execute  
     it with "java LayoutDemo" command in command prompt/terminal.   
 */  
Change the administrator password without knowing the original password

1. Go to start->Run

2. Type "CMD" and press enter

3. Then Type "net user  net user XYZ abc123

    You had changed the password to abc123.

P.S.: 
This is for only educational purpose.
Supports in Win Xp.
If administrator had changed the policies of system,then you won't be able to do above steps.

Brand New Smileyz Once Again For FB

Thursday, 27 December 2012
Posted by Yasar Shaikh
Brand New Smileys For Facebook
◄◄◄ Once Again Brand New Smileyz for Temperary Time ►►►

Just copy it and paste it in ur chat box.

1. Have A Tea
[[283681645068211]] [[283681635068212]] [[283681638401545]] [[283681641734878]] [[283681648401544]] 
[[283681721734870]] [[283681731734869]] [[283681725068203]] [[283681728401536]] [[283681735068202]] 
[[283681811734861]] [[283681808401528]] [[283681815068194]] [[283681805068195]] [[283681818401527]] 
[[283681901734852]] [[283681888401520]] [[283681891734853]] [[283681895068186]] [[283681898401519]] 
[[283682001734842]] [[283682008401508]] [[283682005068175]] [[283682011734841]] [[283682015068174]] 
 

2. Sad
[[501224809910725]] [[501224806577392]] [[501224816577391]] [[501224819910724]] [[501224813244058]] 
[[501224899910716]] [[501224906577382]] [[501224903244049]] [[501224896577383]] [[501224909910715]] 
[[501224989910707]] [[501224986577374]] [[501224993244040]] [[501224999910706]] [[501224996577373]] 
[[501225063244033]] [[501225069910699]] [[501225073244032]] [[501225066577366]] [[501225076577365]] 
[[501225166577356]] [[501225163244023]] [[501225156577357]] [[501225153244024]] [[501225159910690]] 
 

3. Take My Love
[[501234119909794]] [[501234133243126]] [[501234126576460]] [[501234129909793]] [[501234123243127]] 
[[501234263243113]] [[501234269909779]] [[501234273243112]] [[501234266576446]] [[501234276576445]] 
[[501234423243097]] [[501234429909763]] [[501234439909762]] [[501234436576429]] [[501234433243096]] 
[[501234559909750]] [[501234563243083]] [[501234569909749]] [[501234573243082]] [[501234576576415]] 
[[501234829909723]] [[501234843243055]] [[501234833243056]] [[501234836576389]] [[501234839909722]] 
 

4. Angel
[[475097809200057]] [[475097802533391]] [[475097812533390]] [[475097815866723]] [[475097805866724]] [[475097885866716]] 
[[475097892533382]] [[475097879200050]] [[475097889200049]] [[475097882533383]] [[475097972533374]] [[475097962533375]] 
[[475097965866708]] [[475097975866707]] [[475097969200041]] [[475098052533366]] [[475098055866699]] [[475098059200032]] 
[[475098062533365]] [[475098069200031]] [[475098159200022]] [[475098155866689]] [[475098169200021]] [[475098165866688]] 
 [[475098162533355]] [[475098255866679]] [[475098259200012]] [[475098249200013]] [[475098252533346]] [[475098262533345]] 
 

5. I LOVE U TOO MUCH
[[283691085067267]] [[283691095067266]] [[283691098400599]] [[283691088400600]] [[283691091733933]] 
[[283691155067260]] [[283691158400593]] [[283691168400592]] [[283691161733926]] [[283691165067259]] 
[[283691228400586]] [[283691225067253]] [[283691231733919]] [[283691235067252]] [[283691238400585]] 
[[283691311733911]] [[283691321733910]] [[283691315067244]] [[283691308400578]] [[283691318400577]] 
[[283691435067232]] [[283691431733899]] [[283691425067233]] [[283691421733900]] [[283691428400566]] 
 
6. I LOVE U
[[471899176184791]] [[471899179518124]] [[471899166184792]] [[471899169518125]] [[471899172851458]] 
[[471899239518118]] [[471899249518117]] [[471899242851451]] [[471899246184784]] [[471899252851450]] 
[[471899319518110]] [[471899316184777]] [[471899322851443]] [[471899326184776]] [[471899329518109]] 
[[471899412851434]] [[471899399518102]] [[471899406184768]] [[471899409518101]] [[471899402851435]] 
[[471899489518093]] [[471899486184760]] [[471899479518094]] [[471899482851427]] [[471899492851426]] 
 [[471899562851419]] [[471899556184753]] [[471899552851420]] [[471899549518087]] [[471899559518086]] 
 

7. PANDA
[[370434879716448]] [[370434876383115]] [[370434889716447]] [[370434883049781]] 
[[370434886383114]] [[370434979716438]] [[370434976383105]] [[370434983049771]] 
[[370434986383104]] [[370434973049772]] [[370435059716430]] [[370435053049764]] 
[[370435063049763]] [[370435056383097]] [[370435066383096]] [[370435153049754]] 
 [[370435143049755]] [[370435149716421]] [[370435139716422]] [[370435146383088]] 
 

8. Middle Finger
[[485188408189201]] [[485188424855866]] [[485188418189200]] [[485188414855867]] [[485188421522533]] 
[[485188521522523]] [[485188518189190]] [[485188531522522]] [[485188528189189]] [[485188524855856]] 
[[485188624855846]] [[485188614855847]] [[485188621522513]] [[485188618189180]] [[485188628189179]] 
[[485188721522503]] [[485188718189170]] [[485188724855836]] [[485188728189169]] [[485188731522502]] 
[[485188811522494]] [[485188814855827]] [[485188818189160]] [[485188821522493]] [[485188808189161]] 
 
9. Victory Symbol
[[515488441817695]] [[515488445151028]] [[515488431817696]] [[515488435151029]] [[515488438484362]] 
[[515488615151011]] [[515488618484344]] [[515488621817677]] [[515488611817678]] [[515488625151010]] 
[[515488778484328]] [[515488781817661]] [[515488771817662]] [[515488775150995]] [[515488785150994]] 
[[515488875150985]] [[515488878484318]] [[515488888484317]] [[515488871817652]] [[515488881817651]] 
[[515489041817635]] [[515489051817634]] [[515489038484302]] [[515489048484301]] [[515489045150968]] 
 
10.Psy - Gangnam Style
[[195616067242230]] [[195616073908896]] [[195616063908897]] 
[[195616077242229]] [[195616070575563]] [[195616170575553]] 
[[195616163908887]] [[195616160575554]] [[195616173908886]] 
[[195616167242220]] [[195616250575545]] [[195616253908878]] 
[[195616257242211]] [[195616260575544]] [[195616247242212]] 
[[195616363908867]] [[195616367242200]] [[195616360575534]] 
 

11.Kitten ripped a hole in chat box
[[493862920656879]] [[493862923990212]] [[493862913990213]] [[493862917323546]] [[493862927323545]] 
[[493863027323535]] [[493863023990202]] [[493863017323536]] [[493863020656869]] [[493863030656868]] 
[[493863173990187]] [[493863160656855]] [[493863170656854]] [[493863163990188]] [[493863167323521]] 
[[493863240656847]] [[493863253990179]] [[493863247323513]] [[493863243990180]] [[493863250656846]] 
[[493863337323504]] [[493863327323505]] [[493863333990171]] [[493863340656837]] [[493863330656838]] 
 

12. MUKKA
[[488850267812232]] [[488850257812233]] [[488850271145565]] [[488850261145566]] [[488850264478899]] 
[[488850344478891]] [[488850331145559]] [[488850334478892]] [[488850337812225]] [[488850341145558]] 
[[488850434478882]] [[488850424478883]] [[488850427812216]] [[488850421145550]] [[488850431145549]] 
[[488850494478876]] [[488850497812209]] [[488850501145542]] [[488850504478875]] [[488850507812208]] 
[[488850607812198]] [[488850611145531]] [[488850601145532]] [[488850604478865]] [[488850597812199]] 
 

13.PEEKING BABY
[[297248517044857]] [[297248513711524]] [[297248520378190]] [[297248523711523]] [[297248510378191]] [[297248587044850]] 
[[297248593711516]] [[297248597044849]] [[297248600378182]] [[297248590378183]] [[297248670378175]] [[297248663711509]] 
[[297248667044842]] [[297248673711508]] [[297248677044841]] [[297248747044834]] [[297248750378167]] [[297248737044835]] 
[[297248740378168]] [[297248743711501]] [[297248837044825]] [[297248840378158]] [[297248843711491]] [[297248830378159]] 
[[297248833711492]] [[297248923711483]] [[297248930378149]] [[297248927044816]] [[297248920378150]] [[297248933711482]] 
 

14. CUTE KITTY
[[304965379609816]] [[304965376276483]] [[304965389609815]] [[304965386276482]] [[304965382943149]] 
[[304965446276476]] [[304965459609808]] [[304965449609809]] [[304965452943142]] [[304965456276475]] 
[[304965522943135]] [[304965536276467]] [[304965526276468]] [[304965529609801]] [[304965532943134]] 
[[304965599609794]] [[304965596276461]] [[304965606276460]] [[304965602943127]] [[304965609609793]] 
[[304965672943120]] [[304965679609786]] [[304965686276452]] [[304965676276453]] [[304965682943119]] 
 
15.HELLO KITTY
[[283715395064836]] [[283715398398169]] [[283715391731503]] [[283715388398170]] 
 [[283715385064837]] [[283715478398161]] [[283715468398162]] [[283715475064828]] 
 [[283715471731495]] [[283715481731494]] [[283715551731487]] [[283715541731488]] 
 [[283715538398155]] [[283715548398154]] [[283715545064821]] [[283715628398146]] 
 [[283715631731479]] [[283715638398145]] [[283715635064812]] [[283715641731478]] 
 


Enjoy it...!!! :P

Important Networking Acronyms

Monday, 24 December 2012
Posted by Yasar Shaikh
Networking Acronyms'
AAL     ->ATM Adaptation Layer
AM      ->Amplitude Modulation
AMI     ->Alternate Mark Inversion
ANS     ->American National Standard
ANSI    ->American National Standard Institute
ARQ     ->Automatic Repeat Request
ASCII   ->American Standard Code for Information Interchange
ASK     ->Amplitude-Shift Keying
ATM     ->Asynchronous Transfer Mode
B-ISDN  ->Broadband ISDN
BOC     ->Bell Operating Company
CBR     ->Constant Bit Rate
CCITT   ->International Consultative Committee on Telegraphy and Telephony
CIR     ->Committed Information Rate
CRC     ->Cyclic Redundancy Check
CSMAICD ->Carrier Sense Multiple Access with Collision Detection
DCE     ->Data Circuit-Terminating Equipment
DES     ->Data Encryption Standard
DTE     ->Data Terminal Equipment
FCC     ->Federal Communications Commission
FCS     ->Frame Check Sequence
FDDI    ->Fiber Distributed Data Interface
FDM     ->Frequency-Division Multiplexing
FSK     ->Frequency-Shift Keying
FTP     ->File Transfer Protocol
FM      ->Frequency Modulation
HDLC    ->High-Level Data Link Control
HTTP    ->Hypertext Transfer Protocol
ICMP    ->Internet Control Message Protocol
IDN     ->Integrated Digital Network
IEEE    ->Institute of Electrical and Electronics Engineers
IETF    ->Internet Engineering Task Force
IP      ->Internet Protocol
IPng    ->Internet Protocol - Next Generation
ISDN    ->Integrated Services Digital Network
IS0     ->International Organization for Standardization
ITU     ->International Telecommunication Union
ITU-T   ->ITU Telecommunication Standardization Sector
LAN     ->Local Area Network
LAPB    ->Link Access Procedure-Balanced
LAPD    ->Link Access Procedure on the D Channel
LAPF    ->Link Access Procedure for Frame Mode Bearer Services
LLC     ->Logical Link Control
MAC     ->Medium Access Control
MAN     ->Metropolitan Area Network
MIME    ->Multi-Purpose Internet Mail Extension
NRZI    ->Nonreturn to Zero, Inverted
NRZL    ->Nonreturn to Zero, Level
NT      ->Network Termination
OSI     ->Open Systems Interconnection
PBX     ->Private Branch Exchange
PCM     ->Pulse-Code Modulation
PDU     ->Protocol Data Unit
PSK     ->Phase-Shift Keying
PTT     ->Postal, Telegraph, and Telephone
PM      ->Phase Modulation
QOS     ->Quality of Service
QPSK    ->Quadrature Phase Shift Keying
RBOC    ->Regional Bell Operating Company
RF      ->Radio Frequency
RSA     ->Rivest, Shamir, Adleman Algorithm
SAP     ->Service Access Point
SDH     ->Synchronous Digital Hierarchy
SDU     ->Service Data Unit
SMTP    ->Simple Mail Transfer Protocol
SOAP    ->Simple Object Access Protocol
SONET   ->Synchronous Optical Network
TCP     ->Transmission Control Protocol
TDM     ->Time-Division Multiplexing
TE      ->Terminal Equipment
UNI     ->User-Network Interface
URI     ->Universal Resource Identifier
URL     ->Uniform Resource Locator
VAN     ->Value-Added Network
VBR     ->Variable Bit Rate
VCC     ->Virtual Channel Connection
VPC     ->Virtual Path Connection
WWW     ->World Wide Web

Get a Soft Copy of Your Aadhar Card - E-Aadhar

Saturday, 22 December 2012
Posted by Yasar Shaikh
Get a Soft Copy of Your Aadhar Card - E-Aadhar


Hey guyz,

Whoever have not got Aadhar card,and still wanna need it or use it.
So follow following step to get a valid soft copy of Aadhar Card.

Goto:
http://eaadhaar.uidai.gov.in/

And all you need is Enrollment no and the date and time of registering on Aadhar.
This is mentioned on you Aadhar card's receipt.

1. Enter Your Enrollment Number:
2. After that enter your Date and Time of Registration:
3. In Resident Name: Enter your Name and Surname as noted on Aadhar Card.
4. After that enter your PIN
5. At last enter CAPTCHA code given in that image.

This all complete verification.
Now its time of validation.Now you will display last 04 digit of your mobile number which you have given at the time of registration of Aadhar.
Or if you have changed your mobile or it may lost.Click on "No" button.And Enter your new mobile number.

Now One Time Password(OTP) will be sent on your mobile number.
Enter this for validation.

Now you will get a link to download your E-Aadhar.

Download your E-Aadhar.
Your area's PIN is the password of that pdf.

If it asks for validation,click here for more details of validation:

http://eaadhaar.uidai.gov.in/ValidateDocumnet/ValidateDigitalSignatures.htm


P.S. : Don't give your information to other. They can get easily your        Aadhar card with that information and use it as proof on behalf       on them.

Create Your Website For Free - With Free Domain and Free Web Hosting

Tuesday, 18 December 2012
Posted by Yasar Shaikh
Create Your Website For Free-With Free Domain and Free Web Hosting
Hi Everyone,,,

If you are interested to have your own website,and with free hosting,then you can do after reading this.

Having website is a very good marketing tool for an Entrepreneur. And keeping this thing in mind, Govt. of India tied up with Google & Hostgator company to provide a way to new INDIAN entrepreneur to have a website so that he can develop his business.

There is a only valid limitation is that,you should have to give your PAN card no. or ur service tax bill no. to ensure that you are an INDIAN.

Firstly On that site you have to choose a available domain with ".in" extension,after that you have to fill all the details according you or your company.
And at last you have to configure your site.

If you have any problem in configuring your website,they're given support for you.Some PDFs are available for you to  guide how to improve your site to gain more customers and increase your business.


I insist all the entrepreneurs of India,utilize this utility and share with others so that more entrepreneurs will be available in India and ultimately Indian Economics will have a acceleration of growth, and which is very good for us to "Led India to A Developed Country."


Here is the link of this site:


http://www.indiagetonline.in


Free Online Courses

Saturday, 8 December 2012
Posted by Yasar Shaikh
Free Online Courses
Free Online Courses

Standford University and Coursera company from United Kingdon(England) with 50 universities of U.K. offering free online courses under the name of MOOC(Mass Open Online Course).

If you are interested you can enroll with them.The syllabus is also superb that will brushup your old data and add high class data.And they are giving a certificate after successfull completion of the course. And this will definitely benifit at your campus as well as technical life.

I hope u all will like it.
So enjoy.
For course,click below link:

http:\\www.coursera.org

Magic Square Generation in 'C' Language with Example

Thursday, 6 December 2012
Posted by Yasar Shaikh
Magic Square Generation in C
 /*  
  Magic Square:-   
    It is a square matrix whose row element's addition and column element's   
    addition and diagonal element's addition is same.   
    Read more about Magic Square:- http://en.wikipedia.org/wiki/Magic_square  
 */  
 #include<stdio.h>  
 #define MAX 100  
 int main()  
 {  
       int sqr[MAX][MAX];  
       int i,j,p,q,n;  
       int cnt=1;  
      label:  
       printf("\nEnter matrix size:");  
      scanf("%d",&n);  
       if(n%2==0)  
       {  
            printf("\nPlease enter odd number.");  
            goto label;  
       }  
       for(i=0;i<n;i++)  
            for(j=0;j<n;j++)  
                 sqr[i][j]=0;  
       i=p=q=0;  
       j=(n-1)/2;  
       sqr[i][j]=cnt++;  
       do  
       {  
            if(i==0)  
                 p=n-1;  
            else  
                 p=i-1;  
            if(j==0)  
                 q=n-1;  
            else  
                 q=j-1;  
            if(sqr[p][q])  
            {  
                 p=i+1;  
                 q=j;  
                 sqr[p][q]=cnt++;  
            }  
            if(sqr[p][q] == 0)  
                 sqr[p][q]=cnt++;  
            i=p;  
            j=q;  
       }while(cnt != (n*n)+1);  
       printf("\nMagic Square is:\n");  
       for(i=0;i<n;i++)  
       {  
            for(j=0;j<n;j++)  
                 printf("\t%d",sqr[i][j]);  
            printf("\n");  
       }  
      return 0;  
 }  

Download Flute Instrumental from Businessman Movie

Saturday, 10 November 2012
Posted by Yasar Shaikh
Hey guys, I think you had seen the businessman movie.The movie is fantastic and its instrumental music also.I cut that music from the movie.I hope you will like this mostly.


Ballon Shooting Animation Program In 'C' Language
/*
 * Animation of Ballon Shooting 
 * Compiled on Turbo C++
 *  Written By: Yasar Shaikh
*/



#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<dos.h>

void bg()

{
int xcord;
cleardevice();
setcolor(WHITE);

xcord=getmaxx()/2;


settextstyle(0, HORIZ_DIR,1);

outtextxy(xcord,10,"Created By:Yasar Shaikh");
outtextxy(xcord,20,"From: WIT,Solapur");
outtextxy(xcord,30,"Roll No.SE IT 55");
//First row of ballons
setfillstyle(SOLID_FILL,RED);
fillellipse(200,200,20,20);

setfillstyle(SOLID_FILL,YELLOW);

fillellipse(240,200,20,20);

setfillstyle(SOLID_FILL,GREEN);

fillellipse(280,200,20,20);

setfillstyle(SOLID_FILL,LIGHTGRAY);

fillellipse(320,200,20,20);

setfillstyle(SOLID_FILL,CYAN);

fillellipse(360,200,20,20);

//second row of ballon


setfillstyle(SOLID_FILL,MAGENTA);

fillellipse(220,240,20,20);

setfillstyle(SOLID_FILL,BLUE);

fillellipse(260,240,20,20);

setfillstyle(SOLID_FILL,LIGHTGREEN);

fillellipse(300,240,20,20);

setfillstyle(SOLID_FILL,LIGHTBLUE);

fillellipse(340,240,20,20);

//Third row of ballons


setfillstyle(SOLID_FILL,BROWN);

fillellipse(230,280,20,20);

setfillstyle(SOLID_FILL,LIGHTRED);

fillellipse(270,280,20,20);

setfillstyle(SOLID_FILL,LIGHTMAGENTA);

fillellipse(310,280,20,20);

}


void gun()

{
int a[8]={270,450,270,370,290,370,290,450};
setfillstyle(SOLID_FILL,BROWN);
fillpoly(4,a);
}

void main()

{
int gd=DETECT,gm,i;

initgraph(&gd,&gm,"d:\cpp");


bg();

gun();
setcolor(RED);

outtextxy(100,100,"Press Any Key to Start...");

getche();

settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5);

for(i=0;i<210;i+=2)
{
 bg();
 gun();
 settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5);
 setcolor(rand(i));
 outtextxy(280,370-i,".");
 outtextxy(280,370-i-2," ");
 delay(100);

}


setcolor(BLACK);

setfillstyle(SOLID_FILL,BLACK);
fillellipse(280,200,20,20);

setcolor(RED);

settextstyle(TRIPLEX_FONT, HORIZ_DIR, 10);
outtextxy(100,200,"Bang...!!!");

getche();

getche();
closegraph();
}

Learn Typing online or using Software

Sunday, 14 October 2012
Posted by Yasar Shaikh
Learn Typing Online or Using Software

Learn Typing Online or Using Software



Do you want to type fast on computer,but you don't know typing. Don't worry,there is a software that can teach you how to type,its name is "Typing Master".
You can download it from its official site:

Click here to download trial edition of it.

But if you don't have this software or if you are on unknown computer and till want to learn typing,simply go to KEYBR[dot]COM site.It has tutorials for typing.By using it u can also become typing master.

Click Here to go keybr[dot]com


Enjoy it.

Some Technological Sites that You Should Know

Friday, 12 October 2012
Posted by Yasar Shaikh

Some technological Sites that You Should Know


1. www.compnetworking.about.com

This site provides networking information.How does something and so on.

2. www.list.apple.com

This site teaches you java programming on apple Mac.

3. www.opensource.apple.com

This site provides info. necessary to learn Kernel programming.

4. www.herongyang.com

This site provides tutorials of programming languages.

5. www.roseindia.net

This site provides tutorials of programming languages.

6. www.differencebetween.com

This site provides differences between concepts.

7. www.linux.about.com

Info about OS and Linux.


P.S.:   If you have some other sites,then please do comment.

◄◄◄◄◄ Facebook Shortcuts for Chrome ►►►►►

Alt + m--------> New Message Alt + 0 -------->Help Center Alt + 1--------> Home Page Alt + 2-------->Profile Page Alt + 3--------> Manage Friends List Alt + 4--------> Messages List Alt + 5--------> Notification Page Alt + 6--------> Account Settings Alt + 7--------> Privacy Settings Alt + 8--------> Facebook Fan Page Alt + 9--------> Facebook terms Alt + ?--------> Search Box

◄◄◄◄◄ Facebook Shortcuts for Firefox ►►►►►

Shift + Alt + m--------> New Message Shift + Alt + 0--------> Help Center Shift + Alt + 1--------> Home Page Shift + Alt + 2--------> Profile Page Shift + Alt + 3--------> Manage Friends List Shift + Alt + 4--------> Messages List Shift + Alt + 5--------> Notification Page Shift + Alt + 6--------> Account Settings Shift + Alt + 7--------> Privacy Settings Shift + Alt + 8--------> Facebook Fan Page Shift + Alt + 9--------> Facebook terms Shift + Alt + ?--------> Search Box Use shortcuts instead of using mouse everytime....

☼☼☼ Some Important Longforms ☼☼☼

Tuesday, 4 September 2012
Posted by Yasar Shaikh
☼☼☼ Some Important Longforms ☼☼☼

☼☼☼ Some Important Longforms ☼☼☼

AD    :  Anno Domini
AIIMS :  All India Institute of Medical Sciences
AIR   :  All India Radio
AM    :  Ante Meridiem (before noon)
AM    :  Amplitude Modulation
BASIC :  Beginners All purposes Symbolic Instruction Code
BBC   :  British Broadcasting Corporation
BHEL  :  Bharat Heavy Electricals Ltd.
bps   :  bits per second
BPS   :  Bytes per second
BSNL  :  Bharat Sanchar Nigam Ltd.
BING  :  Bing Is Not Google
c/o   :  care of
CA    :  Charted Accoutant
CAS   :  Conditional Access System
CBFS  :  Central Board of Film Certification
CBSE  :  Central Board of Secondary Education
CBI   :  Crime Branch of India
CNG   :  Compressed Natural Gas
CD    :  Compact Disk
CID   :  Central Investigation Dept.
CDMA  :  Code Division Multiple Access
CNN   :  Cable News Network
DOT   :  Department of Telecom
DTH   :  Direct-to-Home
DTP   :  Desk Top Publishing
DTS   :  Digital Theater System
DVD   :  Digital Versatile Disc
ECG   :  Electra Cardiogram
fps   :  frames per second
LOC   :  Life on Control
FAQ   :  Frequently Asked Questions
FIR   :  First Investigation Report
FM    :  Frequency Modulation
GSM   :  Global System for Mobile comm.
GPRS  :  General Packet Radio Service
GDP   :  Gross Domestic Product
HP    :  Horse Power 
HP    :  Hewellet Packard (s/w company)
HTML  :  Hyper Text Mark-up Language
HTTP  :  Hyper Text Transfer Protocol
i.e.  :  id est(that is)
IAS   :  Indian Admistration Services
IPS   :  Indian Police Services
IFS   :  Indian Foreign Services
IFS   :  Indian Forest Services
MTNL  :  Mahanagar Telephone Nigam Ltd.
LCD   :  Liquid Crystal Display
LED   :  Light Emitting Diode
LPG   :  Liquified Petrolium Gas
SIM   :  Subscriber Identity Module
USB   :  Universal Serial Bus
UPS   :  Uninterruptable Power Supply
w/o   :  without
w/i   :  within
w/    :  with

Welcome to My Blog

Digital clock

Today's Technical News

Loading...

Total Pageviews

Fish

Followers

About Auther

- Copyright © Indian Technocracy -- Powered by Blogger - Redesigned by Indian Technocracy-