Theteche.com

Education Tips

  • Facebook
  • Twitter
  • Google Plus
  • Home
  • Education
  • Computer Science
  • Electrical
  • Mechanical
  • Microprocessor
  • Question & Answers

Category - Language C

Overloading Binary Operators
  • Language C

Overloading Binary Operators in C++

May 10, 2021
by Santhakumar Raja
5 min read
Add Comment

Overloading binary operators can be overloaded just as easily as unary operators. We’ll look at examples that overload arithmetic operators, comparison operators, and arithmetic assignment operators. Arithmetic Operators In the...

Continue reading

Arrays of Objects
  • Education
  • Language C

Arrays of Objects – Arrays of English Distances

May 9, 2021
by Santhakumar Raja
8 min read
Add Comment

We’ve seen how an object can contain an array. We can also reverse that situation and create an arrays of objects. We’ll look at two situations: an array of English distances and a deck of cards. Arrays of English...

Continue reading

  • Language C

Const Member Function in C++ Example Program

May 3, 2021
by Santhakumar Raja
6 min read
Add Comment

A const member function guarantees that it will never modify any of its class’s member data. The CONSTFU program shows how this works. //constfu.cpp //demonstrates const member functions / class aClass { private: int...

Continue reading

Static Data Member
  • Language C
  • Software

Static Data Member in C++ Example

April 27, 2021
by Santhakumar Raja
3 min read
Add Comment

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 is created for the entire class, no matter how many objects there...

Continue reading

The Default Copy Constructor in C++
  • Language C

The Default Copy Constructor in C++

April 27, 2021
by Santhakumar Raja
3 min read
Add Comment

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. Let’s mention...

Continue reading

C++ Objects as Physical Objects
  • Language C

C++ Objects as Physical Objects

April 25, 2021
by Santhakumar Raja
4 min read
Add Comment

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 and the real world...

Continue reading

Inline Function
  • Language C

Inline Function in C++ with Example

April 25, 2021
by Santhakumar Raja
4 min read
Add Comment

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. When the compiler sees a function call, it normally...

Continue reading

Recursion in C++
  • Language C

Recursion in C++ with Example

April 25, 2021
by Santhakumar Raja
3 min read
Add Comment

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 bug. However...

Continue reading

Overloaded Functions
  • Language C

Overloaded Functions in C++ with Example

April 24, 2021
by Santhakumar Raja
6 min read
Add Comment

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 bottle was the greatest invention of...

Continue reading

Relational Operators
  • Language C

Relational Operators in C++ with Example Program

April 23, 2021
by Santhakumar Raja
4 min read
Add Comment

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 defined classes. The comparison involves such relationships as equal...

Continue reading

1 2 3 … 5 Next

Categories

  • Communications
  • Computer Science
  • Education
  • Electrical
  • Language C
  • Law
  • Management
  • Mechanical
  • Microcontroller
  • Microprocessor
  • Question & Answers
  • Robotics
  • Software

Ads

Recent Posts

  • Interactions Between IPv4 and the Datalink Layer
  • Organisation of the Network Layer – theteche.com
  • TCP connection establishment in Computer Networks
  • The Transmission Control Protocol (TCP) – theteche.com
  • The User Datagram Protocol (UDP) – theteche.com
  • Reliable Data Transfer on Top of a Perfect Network Service
  • The Transport Layer in the Reference Model
  • The HyperText Transfer Protocol – theteche.com

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Featured Posts

  • IPv4 on point-to-point links Interactions Between IPv4 and the Datalink Layer
    by Santhakumar Raja
  • Virtual circuit establishment Organisation of the Network Layer – theteche.com
    by Santhakumar Raja
  • Utilization of the TCP source and destination ports TCP connection establishment in Computer Networks
    by Santhakumar Raja
  • Transmission Control Protocol Header Format The Transmission Control Protocol (TCP) – theteche.com
    by Santhakumar Raja
  • Usage of the User Datagram Protocol (UDP) port numbers The User Datagram Protocol (UDP) – theteche.com
    by Santhakumar Raja
  • Finite state machine of the simplest transport protocol Reliable Data Transfer on Top of a Perfect Network Service
    by Santhakumar Raja
  • The transport layer in the reference model The Transport Layer in the Reference Model
    by Santhakumar Raja
  • HyperText Transfer Protocol The HyperText Transfer Protocol – theteche.com
    by Santhakumar Raja
June 2022
S M T W T F S
 1234
567891011
12131415161718
19202122232425
2627282930  
« May    
Copyright © 2022. Created by Meks. Powered by WordPress.
  • Home
  • About Me
  • Contact Us
  • Privacy Policy
  • Home
  • Education
  • Computer Science
  • Electrical
  • Mechanical
  • Microprocessor
  • Question & Answers
  • Facebook
  • Twitter
  • Google Plus