Theteche.com

Education Tips

  • Facebook
  • Twitter
  • Google Plus
  • Home
  • Education
  • Mechanical
  • Software
  • Law
  • Microprocessor

Tag - C Language

  • Language C

Disk File I/O with Streams in C++

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

Most programs need to save data to disk file I/O and read it back in. Working with disk file I/O requires another set of classes: ifstream for input, fstream for both input and output, and of stream for output. Objects of these...

Continue reading

Pointer to Pointer
  • Language C
  • Software

Pointer to Pointer in C++ – theteche.com

May 17, 2021
by Santhakumar Raja
4 min read
Add Comment

Our next example demonstrates an array of pointers to objects, and shows how to sort these pointers based on data in the object. This involves the idea of pointer to pointer, and may help demonstrate why people lose sleep over...

Continue reading

Memory Management New and Delete
  • Language C
  • Software

Memory Management New and Delete in C++

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

Memory Management : We’ve seen many examples where arrays are used to set aside memory. The statement int arr1[100]; reserves memory for 100 integers. Arrays are a useful approach to data storage, but they have a serious...

Continue reading

Passing Pointers to Functions in C++
  • Language C
  • Software

Passing Pointers to Functions in C++

May 16, 2021
by Santhakumar Raja
4 min read
Add Comment

Before we noted that there are three ways to pass arguments to a function: by value, by reference, and by pointer. If the passing pointers to functions in C++ is intended to modify variables in the calling program, these...

Continue reading

pointers and arrays
  • Language C
  • Software

Pointers and Arrays in C++

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

There is a close association between pointers and arrays. “Arrays and Strings,” how array elements are accessed. The following program, ARRNOTE, provides a review. // arrnote.cpp // array accessed with array...

Continue reading

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

Overloading Unary Operators
  • Language C
  • Software

Overloading Unary Operators in C++

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

Let’s start off by overloading a unary operators. unary operators act on only one operand. (An operand is simply a variable acted on by an operator.) Examples of unary operators are the increment and decrement operators ++ and...

Continue reading

C++ Strings
  • Language C
  • Software

C++ Strings – theteche.com

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

We noted at the beginning of this chapter that two kinds of strings are commonly used in C++: C-strings and strings that are objects of the string class. In this section we’ll describe the first kind, which fits the theme of...

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

1 2 3 … 5 Next

Categories

  • Communications
  • Education
  • Electrical
  • Language C
  • Law
  • Management
  • Mechanical
  • Microcontroller
  • Microprocessor
  • Robotics
  • Software

Ads

Recent Posts

  • Characteristics of DC Generator – theteche.com
  • Types of DC Generators – theteche.com
  • DC Generator Principle and Parts of DC Generator
  • Stability of a Two Wheel Vehicle Moving in Curved Path
  • Stability of a Four Wheel Moving in Curved Path
  • Gyroscopic Effect on Naval Ship (or Sea Vessels)
  • Precessional Angular Motion – theteche.com
  • Wilson Hartnell Governor (Radial Spring Governor)

Archives

  • 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

  • DC Generator Characteristics Characteristics of DC Generator – theteche.com
    by Santhakumar Raja
  • Separately excited DC generators Types of DC Generators – theteche.com
    by Santhakumar Raja
  • DC Generator DC Generator Principle and Parts of DC Generator
    by Santhakumar Raja
  • Stability of a two wheel vehicle taking a turn Stability of a Two Wheel Vehicle Moving in Curved Path
    by Santhakumar Raja
  • Stability of a Four Wheel Moving in Curved Path Stability of a Four Wheel Moving in Curved Path
    by Santhakumar Raja
  • Gyroscopic Effect on Naval Ship Gyroscopic Effect on Naval Ship (or Sea Vessels)
    by Santhakumar Raja
  • Precessional Angular Motion Precessional Angular Motion – theteche.com
    by Santhakumar Raja
  • Wilson Hartnell Governor Wilson Hartnell Governor (Radial Spring Governor)
    by Santhakumar Raja
October 2021
S M T W T F S
  1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31  
« Sep    
Copyright © 2021. Created by Meks. Powered by WordPress.
  • Home
  • About Me
  • Contact Us
  • Privacy Policy
  • Home
  • Education
  • Mechanical
  • Software
  • Law
  • Microprocessor
  • Facebook
  • Twitter
  • Google Plus