Source Code

C # implementation Apriori algorithm (source code)
C # implementation Apriori algorithm (source code)/*Program.cs*/using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.SqlClient; using System.Text.RegularExpressions; using System.Collections; namespace testApriori1 {  publicclass TestApriori  {  sta[ More ]
Bundle of items in market basket analysis
Bundle of items in market basket analysis Hi all, tid name description 1 one  ones 1 four fours 1 three threes 1 eleven elevens 1 six sixes 2 ten tens 2 eleven elevens 2 five fives 2 four fours 2 seven sevens 3 one  ones 3 eleven e[ More ]
Basic Input/Output in C++
Basic Input/Output I/O Library Header Files: There are following header files important to C++ programs: Header File   Function and Description     This file defines the cin, cout, cerr and clog objects, which   correspond to the standard input stream, the standard output   st[ More ]
Decision Statement ,Array Structure and Pointers In C++
Decision Statement ,Array Structure and Pointers In C++if (condition)  {   stmt 1;  //Executes if Condition is true } else {   stmt 2;  //Executes if condition is false } switch(var)  { case 1:  //if var=1 this case executes   stmt;   break; case 2[ More ]
Interfaces and control statement In C++
Interfaces:   An interface describes the behavior or capabilities of a C++ class without committing to a particular implementation of that class. The C++ interfaces are implemented using abstract classes and these abstract classes should not be confused with data abstraction which is [ More ]
Inheritance And Data Abstracion In C++
Inheritance:   One of the most important concepts in object-oriented programming is that of inheritance. Inheritance allows us to define a class in terms of another class, which makes it easier to create and maintain an application. This also provides an opportunity to reuse the code func[ More ]
Constructor & Destructor In C++
Constructor & Destructor The Class Constructor:   A class constructor is a special member function of a class that is executed whenever we create new objects of that class.   A constructor will have exact same name as the class and it does not have any return type at all, not ev[ More ]
Classes and Objects in C++
Classes and Objects   The main purpose of C++ programming is to add object orientation to the C  programming language and classes are the central feature of C++ that supports object-oriented programming and are often called user-defined types. C++ Class Definitions:   When y[ More ]
Overview of C++ Language
Overview of C++ C++ is a statically typed, compiled, general-purpose, case-sensitive, free-form programming language that supports procedural, object-oriented, and generic programming. C++ is regarded as a middle-level language, as it comprises a combination of both high-level and[ More ]
Pointers In C
Pointers Pointer is a special variable that stores address of another variable Addresses are integers. Hence pointer stores integer data Size of pointer = size of int Pointer that stores address of integer variable is called as integer pointer and is declared as int *ip; Poi[ More ]
File HAndling In C
File Handling Files let you store data on secondary storage such as a hard disk so that your programs can later retrieve that data again. There are 2 types of files which are text files and data files. •Text files are used for storing character strings in a file. To create a text fi[ More ]
Array And Structure In C
Arrays •Arrays fall under aggregate data type •Aggregate – More than 1 •Arrays are collection of data that belong to same data type •Arrays are collection of homogeneous data •Array elements can be accessed by its position in the array called as index •Ar[ More ]
Decision Statement In C
Decision Statement In Cif (condition)  {   stmt 1;  //Executes if Condition is true } else {   stmt 2;  //Executes if condition is false }Switch Statement switch(var)  { case 1:  //if var=1 this case executes   stmt;   break; case 2:  //if var=2 this c[ More ]
Control Statement In C
Control Statement In CFor loops The syntax of for loop is for(initialisation;conditionchecking;increment) {  set of statements } Eg: Program to print Hello 10 times for(I=0;I<10;I++) {  printf(“Hello”); } Eg: Program to Addition of 1 to 10 No. Int a; fo[ More ]
Overview Of C Language
Overview Of C C is developed by Dennis Ritchie Developed between 1969 and 1973 along with Unix C is a structured programming language C supports functions that enables easy maintainability of code, by breaking large file into smaller modules Comments in C provides easy readabil[ More ]
Calculator In Java
import java.applet.*;import java.awt.*;import java.awt.event.*;import java.awt.event.KeyEvent;public class Calculator extends Frame implements ActionListener{  Button b[]=new Button[16];   TextField tf;   Panel pi1;   Panel pi2;  String s="";   Font f12 = new Font("Times New Roman",Font.BO[ More ]