Apriori Algorithm is an algorithm for data mining of frequent data set and association rule learning over transactional databases. It identifies the frequent individual items in the database for example, collections of items bought by … Read More
c
Client Server C program
Today we are going to show you to write simple C level Client – Server Networking & Communication program. This Program and methods are base to create any communication software like whatsapp, fb chat or … Read More
FizzBuzz Solution C C++
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples … Read More
C Program for TAIL command of UNIX
/*
* usage: myTail [-n] [<filename>]
*/
#include <stdio.h> #include <stdlib.h> #define MAX_LINE_LEN 1024 #define DEFAULT_N 10 int main(int argc, char *argv[]) { char **tail; int count = DEFAULT_N, n, i, headX = 0, tailX… Read More
How strtok() Works
strtok() : Split string into tokens
Syntax :
char * strtok ( char * str, const char * delimiters );
Parameters
str C string to truncate.Notice that this string is modified by being broken into … Read More
Templates in C++
example
Interfaces in C++ (Abstract Classes in C++)
The C++ interfaces are implemented using abstract classes
A class is made abstract by declaring at least one of its functions
C++ OOPs Part2
Polymorphism & Overloading
Polymorphism
Polymorphism occurs when there is a hierarchy of classes and they are related by inheritance.
C++ polymorphism means that a call to a member function will cause a different function to
C++ OOPs Part1
ABSTRACTION , INHERITANCE , ENCAPSULATION
ABSTRACTION :
Data abstraction refers to, providing only essential information to the outside world and hiding their background details
Any C++ program where you implement a class with public