top of page
This site was designed with the
.com
website builder. Create your website today.
Start Now
All of us do not have equal talent. But, all of us have an equal opportunity to develop our talents.
-A.P.J Abdul Kalam
Train of Thought
Home
My Blog
Meet the Blogger
ConnectWithUs
More
Use tab to navigate through the menu items.
All Posts
My Top 5
C++
C++ Interview
Linux
Automotive
Finance
Education
Technology
Health
Career
Art & Culture
Travel
Embedded Programming
Search
Print the odd/even number through multiple thread.
// Example program #include <iostream> #include<thread> #include<mutex> #include<condition_variable> #include<chrono> using namespace...
Jan 29, 2022
1 min read
sort array
// Example program #include<iostream> using namespace std; void sort(int *arr,int length) { for(int i =0; i<length;i++) { for(int j =...
Jan 28, 2022
1 min read
How to Find the 2nd Highest number in array.
// Example program #include<iostream> using namespace std; int getMaxValue(int *arr,int length) { int max = arr[0]; int max1 = arr[0];...
Jan 28, 2022
1 min read
Reverse Single LinkedList using class
#include<iostream> using namespace std; class node { public: int info; node *next; }; class list { private: node *head; public: list()...
Dec 12, 2021
1 min read
Create Single LinkedList using class.
#include<iostream> using namespace std; class node { public: int info; node *next; }; class list { private: node *head; public: list()...
Dec 12, 2021
1 min read
Library in c++
What is library: A library is a package of code that is meant to be reused by many programs. There are two types of libraries: 1) static...
Mar 15, 2021
4 min read
Compilation Process in C++
What is a compilation? Compilation is a process of converting the source code into the object code. It is done by help of compiler. What...
Mar 14, 2021
5 min read
why size of empty class object contains 1 byte in c++?
Compiler allocate 1 byte of memory of empty class object for unique address identification. So, if a class have multiple objects they can...
Mar 10, 2021
1 min read
difference between Shallow copy and deep copy in C++
Shallow copy: Shallow copy means , new object created by simply copying the data of all variable of the original object. Shallow copy...
Mar 10, 2021
2 min read
bottom of page