In this post, we will discuss how to measure elapsed time of a C++ program in seconds, milliseconds, microseconds and nanoseconds using chrono library. Get great deals at Amazon
In this post, we will discuss how to find the execution time of a C program in windows and linux environment.
Write an efficient program to convert number to words in C++ and Java programming langauge.
In this post, we will discuss dynamic memory allocation in C++ for multi-dimensional arrays. Single Dimensional Array 2-Dimensional Array 3-Dimensional Array
In this post, we will discuss various methods to dynamically allocate memory for 3D array in C using Single Pointer and Triple Pointer.
In this post, we will cover how to stop content theft from your website simply by disabling text selection, cut, copy and right click function via mouse and keyboard. We will also cover how we can encrypt HTML so that source code can only be readable to the browsers. 1. Disable Text Selection …
Write a Java program to print map of India. Below is obfuscated version in Java that generates the map of India.
A Treap Data Structure is basically a combination of a binary search tree and a heap. Binary Search Trees – Deletions and additions of nodes can make the tree unbalanced (heavier on sides, therefore, the property we value about BSTs, the ability to distribute data by equal divisions, goes out of whack). Therefore you’d …
This articles lists out some of the best comments ever encountered in source code which are taken from a very famous thread at StackOverflow.
Given a text file, write a C program to find frequency of characters Number of words having each character Total number of words in the file and Special characters present in the file.
Write a C program to print map of India. Below is obfuscated version in C that generates the map of India. Obfuscated code is any code that is difficult for humans to understand.