Saturday, August 6, 2011

Implementation of Unary & Binary operator overloading using member function.


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

class point     //class for unary operator overloading
{
private:
int x,y;
public:
point(int i,int j)
{
x=i;
y=j;
}

Friday, July 29, 2011

Pen drive blocked-disabled at office or college computer – Unblock it


Trouble:
We have observed this problem at may places that you need some data on your pen drive but the USB driveor pen drive does not work. Windows gives a notification
New mass storage driver
“Found new hardware, USB Mass Storage Device, please install drivers for it.”

Windows will now show a New Hardware Wizard to install the drivers. Lets see in details how we can fix this problem.

Sunday, July 24, 2011

EMU8086:8086 microprocessor emulator integrated disassembler

EMU8086

8086 microprocessor emulator
integrated disassembler


emu8086 screenshot



  Click here to download   (3 Mb

Wednesday, July 20, 2011

Implementation of friend function

PROBLEM:
create two classes truck and car each containing speed of vehicle,mileage,weight and price.
write a program that can read and compare the values from two classes.use friend function for comparision.

PROGRAM:


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

class car;
class truck
{
private:
float speed,mileage,wt,price;
public:
void input()
{
cout<<"enter the speed"<<endl;
cin>>speed;
cout<<"enter the mileage"<<endl;
cin>>mileage;
cout<<"enter the weight"<<endl;
cin>>wt;
cout<<"enter the price"<<endl;
cin>>price;
}

Monday, July 18, 2011

10 reasons why PCs crashes

 Most of us got PC crashes messages or errors related to PC.
Here are 10 major reasons for them

Fatal error: the system has become unstable or is busy," it says. "Enter to return to Windows or press Control-Alt-Delete to restart your computer. If you do this you will lose any unsaved information in all open applications."

You have just been struck by the Blue Screen of Death. Anyone who uses Mcft Windows will be familiar with this. What can you do? More importantly, how can you prevent it happening?


1: Hardware conflict

The number one reason why Windows crashes is hardware conflict. Each hardware device communicates to other devices through an interrupt request channel (IRQ). These are supposed to be unique for each device.

For example, a printer usually connects internally on IRQ 7. The keyboard usually uses IRQ 1 and the floppy disk drive IRQ 6. Each device will try to hog a single IRQ for itself.

If there are a lot of devices, or if they are not installed properly, two of them may end up sharing the same IRQ number. When the user tries to use both devices at the same time, a crash can happen. The way to check if your computer has a hardware conflict is through the following route:

How to Restore a Deactivated / Missing CD/DVD Drive [Troubleshoot ]

If your CD/DVD drive has disappeared from Windows Explorer and the system folder ‘My Computer’. A glance in the device manager shows that obviously there is some serious problem as the entries are marked with a yellow exclamation mark. This is also confirmed by opening ‘Properties’ in the context menu of the device as it reports “Error code 19” and an error in the registry.

This happens when you accidently deactivate your CD/DVD drive. It can be solved with one change to the registry.


20 Ways To Increase Laptop’s Battery Life

Mobile computing has got better with lighter components, better chips and faster processors. But the Achilles heel of a laptop has remained its battery. So here are we are going to look at ways to increase laptop battery life.
Modern graphic intensive operating systems and resource hungry applications are cutting down the life of your laptop’s battery every day. The average battery life per continuous use still stands at a maximum of three to four hours. So, a fast depleting battery could very swiftly put the crutches on your ‘mobile’ road trip.
Falling just short of carrying an extra pack of batteries in the back-pack, are several ways to keep the juice flowing through the batteries.
 


1. Ship shape with a defrag

Regular defragmentation helps to arrange data more efficiently thus making the hard drive work less to access the data. The quicker the moving hard drive works lesser is the load placed on the battery. Thus, your batter can last longer. The effect is minimal, but this efficiency goes hand in glove with hard drive maintenance.
 
2. Kill the resource gobblers

End the background processes that are not vital. Monitor the resource usage through a ‘Ctrl-Alt-Del’ which brings up the Windows Task Manager (in Windows). If you’re not on the internet, it is safe to shut down the immediate non-essential programs running in the taskbar like the antivirus and the firewall. Weed out unnecessary programs running as start-ups by launching the System Configuration Utility from Run – Msconfig – Tab: Startup. Uncheck the programs which you don’t want to launch and reboot the computer once.

Increase Hard Disk speed in Windows

If you like to increase/optimize your Hard Disk I/O - read/write speed without buying expensive software utilities to do that job or changing the HD, just follow next steps. With doing these steps you will increase Hard disk speed (depends of manufacture and specification, but its worth to try). The most speed improvement is visible with IDE drives;

In any case, it won't harm your system, so try it yourself and let me know what you find!

How to Change Color and Customize Command Prompt

The typical grey-on-black theme of your command prompt can get boring. There are a few changes that can be made to the command prompt to look a little friendlier. The prompt itself can be customized, which by default displays C:\ or the path you’re currently on. This means you can change the path of the prompt. Here is how you can customize the Command Prompt..

The prompt can be changed by typing PROMPT followed by the parameters. PROMPT $P$G will restore the prompt to the default one.

Sunday, July 17, 2011

program to concatanate two string object using dyanamic constructor

PROBLEM: create a class string containing name and length as data members include dyanamic constructor to assign memory dyanamically for name. write a program to concatanate two string object and to display string object.

PROGRAM:

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

class dstring
{
private:
char *name;
int length;
public:
dstring()
{
name[0]=NULL;
}

dstring(int l)
{
length=l;
name=new char[l];
}

Hidden Program In Windows


Go to Start > Run > and type in eudcedit - this will open up a font editor -
allowing you to design your own custom fonts and characters to be used in things like MS Word.
MS Microsoft Word Font Character Hidden Secret Program Windows XP

Top Tips to Maintain a Virus Free Computer

Top Tips to Maintain a Virus Free Computer
Is your computer infected with virus? Do you often get mysterious error messages? Well this is a common problem faced by almost all the computer users across the globe. There are many viruses and worms out there that could infect your computer. Some are harmless, but, they do have the capacity to do any number of nasty things, up to and including, erasing all data from your computer. However there are ways to keep viruses away from your PC. Here are the 12 tips to maintain a virus free computer.



1. Email is one of the common ways by which your computer can catch a virus. So it is always recommended to stay away from SPAM. Open only those emails that has it’s origin from a trusted source such as those which comes from your contact list. If you are using your own private email host (other than gmail, yahoo, hotmail etc.) then it is highly recommended that you use a good anti-spam software. And finally NEVER click on any links in the emails that comes from untrusted sources.

Find ip address of the sender of a mail in Gmail, Yahoo and Hotmail

When you receive an email, you receive more than just the message. The email comes with headers that carry important information that can tell where the email was sent from and possibly who sent it. For that, you would need to find the IP address of the sender. The tutorial below can help you find the IP address of the sender. Note that this will not work if the sender uses anonymous proxy servers.


8 tweeks to make Firefox ridiculously fast

Firefox has been outperforming IE in every department for years, and version 3 is speedier than ever.

But tweak the right settings and you could make it faster still, more than doubling your speed in some situations, all for about five minutes work and for the cost of precisely nothing at all. Here's what you need to do.

1. Enable pipelining
Browsers are normally very polite, sending a request to a server then waiting for a response before continuing. Pipelining is a more aggressive technique that lets them send multiple requests before any responses are

Computer Acronyms

Here is a list of computer acronyms.


--- A ---
ADSL - Asymmetric Digital Subscriber Line
AGP - Accelerated Graphics Port
ALI - Acer Labs, Incorporated
ALU - Arithmetic Logic Unit
AMD - Advanced Micro Devices
APC - American Power Conversion
ASCII - American Standard Code for Information Interchange
ASIC - Application Specific Integrated Circuit
ASPI - Advanced SCSI Programming Interface
AT - Advanced Technology
ATI - ATI Technologies Inc.
ATX - Advanced Technology Extended