Wednesday, August 4, 2021
Home 2021 April

Monthly Archives: April 2021

Static Data Member

Static Data Member in C++ Example

Having said that each object contains its own separate data, we must now amend that slightly. If a data item in a class is declared as static, only one such item...
The Default Copy Constructor in C++

The Default Copy Constructor in C++

We’ve seen two ways to initialize objects. A no-argument constructor can initialize data members to constant values, and a multi argument constructor can initialize data members to values passed as arguments....
Sheet Metal Operations

Sheet Metal Operations – Sheet Metal Works

It is the sheet metal operations of production of a hole in a sheet metal by the punch and die. In case of punching, a circular hole is produced, where as...
Hot Working and Cold Working

Hot Working and Cold Working Metal Forming

To deform the metal permanently, the stress must exceed the elastic limit. At room temperature, the metal is in a more rigid state than when at higher temperature. Hot Working and...
C++ Objects as Physical Objects

C++ Objects as Physical Objects

In many programming situations, objects in programs represent C++ Objects as Physical Objects: things that can be felt or seen. These situations provide vivid examples of the correspondence between the program...
Inline Function

Inline Function in C++ with Example

We mentioned that inline function save memory space because all the calls to the function cause the same code to be executed; the function body need not be duplicated in memory....
Recursion in C++

Recursion in C++ with Example

The existence of functions makes possible a programming technique called recursion. Recursion c++ involves a function calling itself. This sounds rather improbable, and indeed a function calling itself is often a...
Overloaded Functions

Overloaded Functions in C++ with Example

An overloaded functions appears to perform different activities depending on the kind of data sent to it. Overloading is like the joke about the famous scientist who insisted that the thermos...
Relational Operators

Relational Operators in C++ with Example Program

A relational operators compares two values. The values can be any built in C++ data type, such as char, int, and float, or as we’ll see later they can be user...
Types of Casting Process

Types of Casting Process – Working, Advantages, Disadvantages

Investment Types of Casting Process It can cast very thin and complex features It offers excellent surface finish It offers excellent dimensional accuracy Can be used to cast all metals and...