Title: C++ Programming in janak puri, Delhi
1An ISO 90012000 Certified Institute
A-1/17, Opp Metro Pillar No 636 Janakpuri, New
Delhi - 58 9015596280, 9313565406,
9212129290 contactgurmeetkaur_at_gmail.com
contactus_at_balujalabs.com
2Introduction of C Programming
Object Oriented programming is a programming
style that is associated with the concept of
OBJECTS, having datafields and related member
functions. Suppose that you want to assemble your
own PC, you go to a hardware store and pick up a
motherboard, a processor, some RAMs, a hard disk,
a casing, a power supply, and put them together.
You turn on the power, and the PC runs. You need
not worry whether the motherboard is a 4-layer or
6-layer board, whether the hard disk has 4 or 6
plates 3 inches or 5 inches in diameter, whether
the RAM is made in Japan or Korea, and so on. You
simply put the hardware components together and
expect the machine to run. Of course, you have to
make sure that you have the correct interfaces,
i.e., you pick an IDE hard disk rather than a
SCSI hard disk, if your motherboard supports only
IDE you have to select RAMs with the correct
speed rating, and so on. Nevertheless, it is not
difficult to set up a machine from hardware
components. Similarly, a car is assembled from
parts and components, such as chassis, doors,
engine, wheels, brake, and transmission. The
components are reusable, e.g., a wheel can be
used in many cars (of the same specifications).
Hardware, such as computers and cars, are
assembled from parts, which are reusable
components. How about software? Can you
"assemble" a software application by picking a
routine here, a routine there, and expect the
program to run? The answer is obviously no!
Unlike hardware, it is very difficult to
"assemble" an application from software
components. Since the advent of computer 60 years
ago, we have written tons and tons of programs.
However, for each new application, we have to
re-invent the wheels and write the program from
scratch. Why re-invent the wheels? Lets take a
short example When we are going to build a house
.We distribute the works needed to make a house
we can divide the works in different part and
deliver to different persons like plumber for
water supply, electrician for electricity etc.
The electrician doesnt need to know that the
work of plumber and vice versa. In the same way
in Object Oriented Programming we can divide our
applications in different modules called classes
.And one class is separate from other classes .It
has its own functionality and features.
www.balujalabs.in
3Content of C Programming
- 1.Introduction
- 2. Fundamental of C 3 Classes and objects
- 4 Constructor and Deconstructions 5 Introduction
Inheritance - 6 Virtual function and polymorphism 7 Function
and operator overloading 8 Templates - 10 I/O Stream library 11 File Handling
- Exception handling
- Graphics
- Mini project
www.balujalabs.in
4Real-World Applications of C
- Games
- C overrides the complexities of 3D games,
optimizes resource management and facilitates
multiplayer with networking. The language is
extremely fast, allows procedural programming for
CPU intensive functions and provides greater
control over hardware, because of which it has
been widely used in development of gaming
engines. For instance, the science fiction game
Doom 3 is cited as an example of a game that used
C well and the Unreal Engine, a suite of game
development tools, is written in C. - Graphic User Interface (GUI) based applications
- Many highly used applications, such as Image
Ready, Adobe Premier, Photoshop and Illustrator,
are scripted in C. - Web Browsers
- With the introduction of specialized languages
such as PHP and Java, the adoption of C is
limited for scripting of websites and web
applications. However, where speed and
reliability are required, C is still preferred.
For instance, a part of Googles back-end is
coded in C, and the rendering engine of a few
open source projects, such as web browser Mozilla
Firefox and email client Mozilla Thunderbird, are
also scripted in the programming language. - Advance Computations and Graphics
- C provides the means for building applications
requiring real-time physical simulations,
high-performance image processing, and mobile
sensor applications. Maya 3D software, used for
integrated 3D modeling, visual effects and
animation, is coded in C. - Database Software
- C and C have been used for scripting MySQL, one
of the most popular database management software.
The software forms the backbone of a variety of
database-based enterprises, such as Google,
Wikipedia, Yahoo and YouTube etc. - Operating Systems
- C forms an integral part of many of the
prevalent operating systems including Apples OS
X and various versions of Microsoft Windows, and
the erstwhile Symbian mobile OS.
www.balujalabs.in
5A-1/17, Opp Metro Pillar No 636 Janakpuri, New
Delhi - 58 9015596280, 9313565406 9212129290 con
tactgurmeetkaur_at_gmail.com contactus_at_balujalabs.com
www.balujalabs.in