Tuesday 8 April 2014

How to download Facebook Video without any software

How to download Facebook Video without any software 







Step 1:-


           s
elect any video on facebook.

step2 :-


 
          Go to URL of the video.

Step3:-


           D
elete 'WWW' and add 'M' in the beginning of URL of the video URL.

Step 4:-

           Play The video in mobile view webpage.


Step5:-


           Then 'Right Click-->Save video as-->save'.

Step 6:-


           Successfully Download The Video.. .. . ;)

How to hide a folder without Any software-cmd Tricks-No one can't find the folder

How to hide a folder without Any software-cmd Tricks-No one can't find the folder

Step 1:-

           Open RUN --> Type 'cmd' in RUN -->Enter.

Step 2:-

           Go to the drive of the folder.(ex:  d: (d:\>) )

Step 3:-

           To Hide a folder attrib -s -h demo

(i) attrib-Attribute.

(ii) s-System.

(iii) h-Hide

(iv) 'demo'- Folder Name.

Tats it. .. ..


To view hidden folder.

Similary type in cmd prompt as 'attrib +s +h demo'

How to Download Youtube Video Without any software

How to Download Youtube Video Without any software

Step1:- 

           Go to any Youtube video.
Step:-2
           Go to the Address bar And Click the URL of the video.
Step3:-
           Delete "WWW." And Add SS in beginning of URL.
Step 4:-
          Click Download Link. Thats it.. . :)


For More details see the below Videos:-)

How to Download Youtube Video Without any software




Monday 31 March 2014

C Programming graphics | Moving car using C graphics

 C Programming graphics | Moving car using C graphics

 Source Code:-)

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

int main()
{
   int i, j = 0, gd = DETECT, gm;

   initgraph(&gd,&gm,"C:\\TC\\BGI");

   settextstyle(DEFAULT_FONT,HORIZ_DIR,2);
   outtextxy(25,240,"Press any key to view the moving car");

   getch();

   for( i = 0 ; i <= 420 ; i = i + 10, j++ )
   {
      rectangle(50+i,275,150+i,400);
      rectangle(150+i,350,200+i,400);
      circle(75+i,410,10);
      circle(175+i,410,10);
      setcolor(j);
      delay(100);

      if( i == 420 )
         break;
      if ( j == 15 )
         j = 2;

      cleardevice(); // clear screen
   }

   getch();
   closegraph();
   return 0;
}

C Programming graphics | To restrict mouse pointer in a circle using C graphics

C Programming graphics | To restrict mouse pointer in a circle using C graphics

Source code:-)

#include<graphics.h>
#include<conio.h>
#include<dos.h>
#include<stdlib.h>
#include<math.h>

union REGS i, o;

int initmouse()
{
   i.x.ax = 0;
   int86(0X33, &i, &o);
   return ( o.x.ax );
}

void showmouseptr()
{
   i.x.ax = 1;
   int86(0X33, &i, &o);
}

void hidemopuseptr()
{
   i.x.ax = 2;
   int86(0X33,&i,&o);
}

void getmousepos(int *x, int *y)
{
   i.x.ax = 3;
   int86(0X33, &i, &o);
   *x = o.x.cx;
   *y = o.x.dx;

}

void movemouseptr(int x, int y)
{
   i.x.ax = 4;
   i.x.cx = x;
   i.x.dx = y;
   int86(0X33, &i, &o);
}

main()
{
   int gd = DETECT, gm, midx, midy, radius, x, y, tempx, tempy;

   radius = 100;

   initgraph(&gd, &gm, "C:\\TC\\BGI");

   if(!initmouse())
   {
      closegraph();
      exit(1);
   }

   midx = getmaxx()/2;
   midy = getmaxy()/2;

   showmouseptr();
   movemouseptr(midx, midy);
   circle(midx, midy, radius);

   x = tempx = midx;
   y = tempy = midy;

   while(!kbhit())
   {
      getmousepos(&x, &y);

      if((pow(x-midx,2)+pow(y-midy,2)-pow(radius,2))>0)
      {
         movemouseptr(tempx, tempy);
         x = tempx;
         y = tempy;
      }

      tempx = x;
      tempy = y;
   }

   closegraph();
   return 0;
}

C Programming graphics | Traffic light program in c, traffic light simulation using C graphics

C Programming graphics | Traffic light program in c, traffic light simulation using C graphics

Source Code:-)

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

main()
{
   int gd = DETECT, gm, midx, midy;

   initgraph(&gd, &gm, "C:\\TC\\BGI");

   midx = getmaxx()/2;
   midy = getmaxy()/2;

   setcolor(RED);
   settextstyle(SCRIPT_FONT, HORIZ_DIR, 3);
   settextjustify(CENTER_TEXT, CENTER_TEXT);
   outtextxy(midx, midy-10, "Traffic Light Simulation");
   outtextxy(midx, midy+10, "Press any key to start");
   getch();
   cleardevice();
   setcolor(WHITE);
   settextstyle(DEFAULT_FONT, HORIZ_DIR, 1);
   rectangle(midx-30,midy-80,midx+30,midy+80);
   circle(midx, midy-50, 22);
   setfillstyle(SOLID_FILL,RED);
   floodfill(midx, midy-50,WHITE);
   setcolor(BLUE);
   outtextxy(midx,midy-50,"STOP");
   delay(2000);
   graphdefaults();
   cleardevice();
   setcolor(WHITE);
   rectangle(midx-30,midy-80,midx+30,midy+80);
   circle(midx, midy, 20);
   setfillstyle(SOLID_FILL,YELLOW);
   floodfill(midx, midy,WHITE);
   setcolor(BLUE);
   outtextxy(midx-18,midy-3,"READY");

   delay(2000);
   cleardevice();
   setcolor(WHITE);
   rectangle(midx-30,midy-80,midx+30,midy+80);
   circle(midx, midy+50, 22);
   setfillstyle(SOLID_FILL,GREEN);
   floodfill(midx, midy+50,WHITE);
   setcolor(BLUE);
   outtextxy(midx-7,midy+48,"GO");
   setcolor(RED);
   settextstyle(SCRIPT_FONT, HORIZ_DIR, 4);
   outtextxy(midx-150, midy+100, "Press any key to exit...");

   getch();
   closegraph();
   return 0;
}