Increase Download Speed of Internet Download Manage (IDM) for any version

01.Open your IDM

02. Click Downloads & Option. then open menu as below.
03
03.Go Connection Change "Connection Speed : Others or your connection name". "Speed :10000000" . "Default max conn. numbers: 16". After complete then click OK.

04. Type regedit in Run or follow below image & Press Enter
05
05.Open your Registry with administrator
06
06. Click HKEY_CURRENT_USER
07
07. Software
08
08. Download Manager
09
10.Double Click on Connection Speed
10
11. Give in Value Data is 10000000 & click Hexa Decimal to Decimal. Then OK
11
Thanks for complete your job. Now Enjoy

Write a program that performs Random Access any data file. The updating would include one or more of the following tasks: a) Displaying the contents of a file b) Modifying an existing item c) Adding a new item d ) Deleting an existing item

Write a program that performs Random Access any data file. The updating would include one or more of the following tasks: a) Displaying the contents of a file b) Modifying an existing item c) Adding a new item d ) Deleting an existing item

 
#include<iostream.h>
#include<fstream.h>
#include<iomanip.h>
#include<conio.h>

class INVENTORY
{
    char name[10];
    int code;
    float cost;
    public:
      void getdata(void)
      {
          cout<<"Enter name : "; cin>>name;
          cout<<"Enter code : "; cin>>code;
          cout<<"Enter cost : "; cin>>cost;
      }
      void putdata(void)
      {
          cout<<setw(10)<<name
         <<setw(10)<<code
         <<setprecision(2)<<setw(10)<<cost
         <<endl;
      }
}; // end of class definition

int main()
{
    clrscr();

    INVENTORY item;
    fstream inoutfile; // input/output stream

    inoutfile.open("STOCK.DAT",ios::ate|ios::in|ios::out|ios::binary);
    inoutfile.seekg(0,ios::beg); // go to start
    cout<<"CURRENT CONTENTS OF STOCK\n";

    while(inoutfile.read((char *) & item, sizeof (item)))
    {
   item.putdata();
    }
    inoutfile.clear();  //  turn of EOF flag

    /* >>>>>>>>>>>>>>>>> Add one or more item <<<<<<<<<<<<<<<<<< */

    cout<<"\nADD AN ITEM\n";
    item.getdata();
    char ch;
    cin.get(ch);
    inoutfile.write((char *) & item, sizeof(item));

    // display the appened file

    inoutfile.seekg(0);  // go to start

    cout<<"CONTENTS OF APPEND FILE\n";

    while(inoutfile.read((char *) & item, sizeof (item)))
    {
   item.putdata();
    }

    // find number of objects in the file

    int last = inoutfile.tellg();
    int n = last/sizeof(item);

    cout<<"Number of objects = "<<n<<"\n";
    cout<<"Total bytes in the file = "<<last<<"\n";

    /* >>>>>>>> MODIFY THE DETAILS OF AN ITEM <<<<<<<<<<<<<<< */

    cout<<"Enter object number to be updated\n";
    int object;
    cin>>object;
    cin.get(ch);

    int location = (object-1) * sizeof(item);

    if(inoutfile.eof())
    inoutfile.clear();

    inoutfile.seekp(location);

    cout<<"Enter new values of th object\n";
    item.getdata();
    cin.get(ch);

    inoutfile.write((char *) & item, sizeof (item))<<flush;

    /* >>>>>>>>>>>>>> SHOW UPDATED FILE <<<<<<<<<<<<<<<<<< */

    inoutfile.seekg(0);  // go to the start

    cout<<"CONTENTS OF UPDATED FILE\n";

    while(inoutfile.read((char *) & item, sizeof (item)))
    {
   item.putdata();
    }
    inoutfile.close();

    return 0;
} // end of main

Create an Abstract Base class called shape. Derive class rectangle from the base class shape and a class cube from the rectangle class. Data members : Length, width for class rectangle Height for class cube Member function : Area(), print() for class rectangle Volume(), print() for class cube Make function print() as virtual and declare as a pure virtual function in the base class. Write a main program to compute the area of rectangle and volume of cube and display the result using base class pointer.

Create an Abstract Base class called shape. Derive class rectangle from the base class shape and a class cube from the rectangle class. Data members :  Length, width for class rectangle      Height for class cube  Member function :  Area(), print() for class rectangle     Volume(), print() for class cube Make function print() as virtual and declare as a pure virtual function in the base class. Write a main program to compute the area of rectangle and volume of cube and display the result using base class pointer.


Create an Abstract Base class called shape. Derive class rectangle from the base class shape and a class cube from the rectangle class. Data members :  Length, width for class rectangle      Height for class cube  Member function :  Area(), print() for class rectangle     Volume(), print() for class cube Make function print() as virtual and declare as a pure virtual function in the base class. Write a main program to compute the area of rectangle and volume of cube and display the result using base class pointer.





#include<iostream.h>
#include<conio.h>
class shape
{
public:
    virtual void print()=0;
};
class rectangular:public shape
{
    private:
    float length,width,are;
public:
    void area(int i,int j)
    {
        length=i;
        width=j;
        area=length*width;
    }
void print()
    {
    cout<<"area is: "<<are<<"\n";
    }
};


class cube :public rectangular
{
    private:
        float hight,vol;

    public:
        void volume(float h)
    {
        hight=h;
         vol=hight*hight*hight;
    }
void print()
    {
        cout<<"the volume is :" <<vol;
    }
};

void main()
{
    clrscr();
    rectangular ob1;
    cube ob2;
    shape *sptr;
    sptr=&ob1;
    ob1.area(10,20);
    sptr->print();
    sptr=&ob2;
    ob2.volume(25.5);
    sptr->print();
    getch();
}

Design a class polar which describes a point in the plane using polar coordinates radius and angle. Use the overloaded + operator add two objects of polar. (Hint: You need to use the following trigonometric formula: x = r*cos(a); y = r*sin(a); a = atan(x/y);// are tangent r = sqrt(x*x + y*y)




#include<iostream.h>
#include<conio.h>
#include<math.h>
#include<iomanip.h>

class polar
{
  float r,a;
  public:
void setpolar(float i, float j){r=i; a=j;}
void showpolar()
{
 cout<<"Radius = "<<setprecision(4)<<r<<"             Angle = "<<setprecision(4)<<a;
}
void getresult(){}
polar operator + (polar ob);

};

polar polar :: operator + (polar ob)
{
  float x1,x2,y1,y2,x,y,rad,angle;
  float angle1,angle2,ang;
  polar tempob;

  angle1 = (22 * a) /float(7 * 180);
  angle2 = (22 * ob.a)/ float (7 * 180);

  x1 = r*cos(angle1);
  y1 = r*sin(angle1);
  x2 = ob.r * cos(angle2);
  y2 = ob.r * sin(angle2);

  x = x1 + x2;
  y = y1 + y2;

  rad = sqrt((x*x)+(y*y));
  ang = atan(y/float(x));
  angle = (180*7*ang)/22;
  tempob.setpolar(rad,angle);
  return tempob;
}

void main()
{
   float r,a;
   polar ob[2],sumob;
   clrscr();
   cout<<"A Class for POLAR that determine polar coordinates\n";
   cout<<"==================================================\n\n\n\n\n";


   for(int i=0;i<2;i++)
   {
     cout<<"\nEnter value for r : "<<i+1<< " : ";
     cin>>r;
     cout<<"\nEnter value for a : "<<i+1<< " : ";
     cin>>a;
     ob[i].setpolar(r,a);
   }

   cout<<"\n";

   for(i=0;i<2;i++)
   {
     cout<<"\n\n\n\n";
     cout<<i+1<<"   number polar coordinate : ";
     cout<<"\n\n";
     ob[i].showpolar();
     cout<<"\n\n\n\n";
   }
   cout<<"\n\n\n\nResult\n\n";
   sumob = ob[0] + ob[1];
   sumob.showpolar();
   getch();
}

Check your hard disk for errors

You can help solve some computer problems and improve the performance of your computer by making sure that your hard disk has no errors.
Open Computer by clicking the Start button Picture of the Start button, and then clicking Computer.
Right-click the hard disk drive that you want to check, and then click Properties.
Click the Tools tab, and then, under Error-checking, click Check NowAdministrator permission required If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
To automatically repair problems with files and folders that the scan detects, select Automatically fix file system errors. Otherwise, the disk check will simply report problems but not fix them.
To perform a thorough disk check, select Scan for and attempt recovery of bad sectors. This scan attempts to find and repair physical errors on the hard disk itself, and it can take much longer to complete.
To check for both file errors and physical errors, select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors.
Click Start.
Depending upon the size of your hard disk, this may take several minutes. For best results, don't use your computer for any other tasks while it's checking for errors.