Custom Search

Friday 31 August 2012

MG University BTech Results

Read more

Windows 8 tricks

Disable the Lock ScreenWindows 8 shows a lock screen when you restart your computer,log out, or lock it. Its very pretty, but it just adds one more keystroke to the login process. You can actually disable the lock screen entirely, although Microsoft hides his option very well.

This option is located in the Group Policy Editor. To launch it, type gpedit.msc at the Start screen and press Enter.

In the Group Policy Editor, navigate to Computer Configuration\Administrative Templates\Control Panel\Personalization.

Double-click the Do not display the lock screen option, set it to Enabled, and click OK.

The next time you restart your system, log out, or lock the screen, you'll see the login screen instead of the lock screen. 




Display Administrative Tools
By default, Windows hides the Event Viewer, Computer Management and other Administrative Tools from the Start screen. If you use these applications frequently, you can easily unhide them.
From the Start screen, mouse over to the bottom or top right corner of the screen and click the Settings charm.

You can also press WinKey-C to view the charms.

Click the Setting link under Start and set the Show administrative tools slider to Yes.

The Administrative Tools will appear on the Start screen and inthe All Apps list.
screen.




Customize Search ApplicationsMetro apps can appear as options when you use the searchfeature.
You can control the apps that appear here and trim down the list. First, click the Settings charm from anywhere on your system and click the More PC settings link.
From the PC settings screen, click the Search category and use the sliders to hide apps from the search screen.
Read more

Polynomial Additon


Author: Sanif S S 
Site: theeduzone.blogspot.com 
Email: sanifss@gmail.com


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

struct poly
{
int coef;
int exp;
};
class polynomial
{ poly p[10];
int n;
public:
 void read();
 void display();
 polynomial operator+(polynomial);
 };
 void polynomial::read()
 {
 poly temp;
 cout<<"Enter number of terms\n";
 cin>>n;

 for(int i=0;i{
 cout<<"Enter coefficient"<<" "< cin>>p[i].coef>>p[i].exp;
 }
 for( i=n-1;i>0;i--)
{
 for(int j=0;j  {
   if(p[j].exp

   {
    temp=p[j];
   p[j]=p[j+1];
   p[j+1]=temp;
 }
 }
 }
 }
 void polynomial::display()
 {
 for(int i=0;i {
 cout<

 if(i!=n-1)
 cout<<"+";
 }
 cout<<"\n";
 }
polynomial polynomial::operator +(polynomial p2)
{
 polynomial p3;
int i=0;
int j=0;
int k=0;
while(i{
if(p[i].exp>p2.p[j].exp)
{
p3.p[k]=p[i];
i++;
}
else if(p[i].exp
{
p3.p[k]=p2.p[j];
j++;
}
else
{
p3.p[k].coef=p[i].coef+p2.p[j].coef;
p3.p[k].exp=p[i].exp;
i++;
j++;
}
k++;
}
while(i
{
p3.p[k]=p[i];
i++;
k++;
}
while(j
{
p3.p[k]=p2.p[j];
j++;
k++;
}
p3.n=k;

return p3;
}
 void main()
 {
 polynomial p1,p2,p3;
 clrscr();
 cout<<"enter the first polynomial\n";
 p1.read();
 cout<<"\nenter the second polynomial\n";
 p2.read();
 cout<<"\nfirst polynomial is\n";
 p1.display();
 cout<<"\nsecond polynomial is\n";
 p2.display();
 cout<<"\nResultant polynomial is\n";
 p3=p1+p2;
 p3.display();
 getch();
 }

Read more

LinkWithin

Related Posts Plugin for WordPress, Blogger...