Trick To Find User Surname Of Any Reliance Mobile Number
History of C++
HOSTORY OF C++
C++ was developed by Bjarne Stroustrup at AT& T Bell Laboratories in Muarry Hill, New Jersy (USA) in 1983. the version 1.0 of c++ become commercially avaliable in 1983 , version 2.0 of c++ in 1989 and version 3.0 in 1992.
How it forms:
It is Discovered With the combination os Several LANGUAGES and CLASSES
SIMULA67 - Simula67 was dicovered in Norway in 1968.
C with Classes - It is Formed with hthe combination of Simula67 & C revised , to developement of New language calles C with CLASSES & it is Discovered by BJARNE Stroustrup in 1979/
In C++ To Make Programmes we Use Some Objects and classes.
Difference Between Object and classes:
OBJECT |
CLASS |
|---|---|
| 1. Data & Function that operation data binded together to forma an object. | 1. A Collection of objects with same attributes & common behaviour. |
| 2. Objects are real word entries. | 2. Class is just a specification or a logical entry to create a object. |
| 3. Object occupy some space in memory. | 3. Classes does not consume space in memory. |
| 4. Object is an instance of class. | 4. A class can have Many Objects. |
| 5. Table, Chair, Sofa are some Examples of Object. | 5. Furniture is an example of Class which has table, chair, sofa Objects |
C++ has More characteristics than normal C language given below:
- C++ is a popular and versatile language for developing large and complex application.
- C++ has a rich collection of standered class libraries, inbuilt functions and datatypes.
- C++ is an extension of C with object oriented feautres.
- The program written in C++ is well suited for modelling real world problems.
- C++ provides very efficent memory management technique.
- In C++, Complex data types called Abstract Data Types (ADTs) can be created using classes.
- C++ is a portable language and programmes formed in it can be used in different machines.
- C++ compiler is easily available and it requires less space to store.
- C++ is A flexible Language, it can performes several functions with same name that performed different tasks
- C++ is easy to maintain Free of error as these errors can be located easily & then rectified.
- New programmes can be develope in lesser time.
- C++ allows programmer to Redefine the meaning of exisiting operator such as Plus (+) minus (-) .
Next Chapter Starting Structure of C++
Starting Structure of C++
#include directives : It tells the preprocessor to include tje contents of specified file in the source file in place of the directive before compilation,
#include<iostream.h>
In this example, the #include directive tells the preprocessor to include the contents of iostream.h file into the source file. The iostream.h is a header file that contains the declaration of all the standard Input/Output functions of C++. The compiler will generate erros if the file is not in the source code.
#define directive : The Other most often used preprocessor directive is #define directive. the symbolic constants can be specified using #define. The symbolic constants allow the programmer to define a name for constant and use that name throughout the program as Shown in the following example -
#define PI 3.14159
It replaces every occurrence of symbolic constant PI with a value 3.14159 before the program is compiled.
Conditions & Feautres :
Main Program Section :#include<iostream.h>
In this example, the #include directive tells the preprocessor to include the contents of iostream.h file into the source file. The iostream.h is a header file that contains the declaration of all the standard Input/Output functions of C++. The compiler will generate erros if the file is not in the source code.
#define directive : The Other most often used preprocessor directive is #define directive. the symbolic constants can be specified using #define. The symbolic constants allow the programmer to define a name for constant and use that name throughout the program as Shown in the following example -
#define PI 3.14159
It replaces every occurrence of symbolic constant PI with a value 3.14159 before the program is compiled.
Conditions & Feautres :
- All preprocessor directive must begin with hash sign (#)
- preprocessor directive should not end with semicolon because they are not C++ statement.
- Only one preprocessor directive can occur in a line.
The execution of the program always starts from this part of the program. It includes local declaration part and executable part. The local declaration part includes the declaration of variable that can only be accessed within the main( ).
Example :
#include<iostream.h>
#include<conio.h>
int main( )
{
cout<<"This is my First C++ Script";
getch ( );
return 0;
}
OUTPUT :
This is my First C++ Script
To calculate the Sum of two numbers :
#include<iostream.h>
#include<conio.h>
int main( )
{
int a,b,sum;
cout<<"Enter the value of a = ";
cin>>a;
cout<<"Enter the value of b = ";
cin>>b;
sum=a+b;
cout<<"Sum is ="<<sum;
getch( );
return 0;
}
Algorithm :
Step 1 - Declare the require program variables a, b and sum.
Step 2 - Read the values of a and b.
Step 3 - Calculate their sum i.e. sum a+b
Step 4 - Write the calculated Result i.e. write sum
Step 5 - Stop
OUTPUT :
Enter the value of a = 5
Enter the value of b = 10
Sum is = 15
#include<conio.h>
int main( )
{
int a,b,sum;
cout<<"Enter the value of a = ";
cin>>a;
cout<<"Enter the value of b = ";
cin>>b;
sum=a+b;
cout<<"Sum is ="<<sum;
getch( );
return 0;
}
Algorithm :
Step 1 - Declare the require program variables a, b and sum.
Step 2 - Read the values of a and b.
Step 3 - Calculate their sum i.e. sum a+b
Step 4 - Write the calculated Result i.e. write sum
Step 5 - Stop
OUTPUT :
Enter the value of a = 5
Enter the value of b = 10
Sum is = 15
How To Flash Your Bios From USB
Made Easy 100% Safe and Working
1. Download The Flash Bios From USB Package Below Bios From USB Package From Here
http://rapidshare.com/files/207475298/Flash_Bios_From_USB.zip
or
http://www.mediafire.com/?69leqpprmonjqcq
The Package contains HP USB Disk Storage Format Tool and 2 Folders (Image Below)
2. Install HPUSBDiskStorageFormatTool.exe
3. After You Install Run HP USB Disk Storage Format Tool Icon Below
Vista Only: In Order To Run HP USB Formatter you will have to run it as a Administrator (Image Below)
4. When HP USB Disk Storage Format Tool Starts Select The Drop Down Bar And Select Your USB Device (Image Below)
5. After you select Your USB device Select
- File System – FAT32
- Quick Format
- Create a DOS startup disk
- using system files located at:
When you select using system files located at: it will let browse for the file by pushing the button on the right with the 3 dots
6. After you have setup everything like the picture above in step 5 select start you will get a warning that all your data will be erased select yes and proceed now you are done using HP USB Disk Storage Format Tool
7. Copy The Files In The Folder Labeled Copy These Files To USB To Your USB That
You Download In Step 1
Copy The Files Only Not The Folder
AUTOEXEC.BAT
AWDFLASH.EXE
8. Now Go To The Evga Website http://www.evga.com/support/drivers/
And Download The Bios You Want To Make Sure You Download The bin Version
ONCE AGAIN MAKE SURE YOU DOWNLOAD THE .BIN VERSION
9. After You Download The Bios Rename The .bin File To bios.bin
EXAMPLE – If you download the x58 Bios E758SZ21.bin you would have to
rename it to bios.bin
10. Copy the bios.bin file to the usb drive And Reboot Your PC Loading Off Your USB Drive
Heres What Your USB STICK SHOULD LOOK LIKE AT THE END
To Load Up From Your USB Drive To Do This Follow The Steps Below
- Reboot Your PC While Holding Down The Escape Key / Or Keep On Pushing It Rapidly
- Select Hard Disk
- Select Your USB DRIVES Name
That Should be It Your Bios Will Start To Update On Its Own After After your Bios Updates Make sure You Remove The USB Drive Before You Reboot.
Some Things To Remeber
You Can Keep This USB Drive As A USB BIOS Drive For Most Of Your EVGA Boards And Other Boards.
The Only Thing That Ever Needs To Changed Is The bios.bin file make sure you always rename your bios file to bios.bin
Subscribe to:
Posts (Atom)
