C++ Program to solve the Quadratic Equation

This program will solve quadratic equations. It accepts coefficients of a quadratic equation from the user i.e. a, b and c and displays the roots. To compile the program name it quadratic_solver.cpp then type g++ -o quadratic_solver quadratic_solver.cpp You may need...

C Algorithms Library

This article is about a collection of common Computer Science algorithms which may be used in C projects. The C Programming Language has a much smaller Standard Library as compared to other more modern programming languages such as Java or Python. The library provides...

C++ “Hello World” Program

This is a simple “Hello World” C++ program to display “Hello World” text on the screen. Typically, the best way to learn programming is by writing code. The first program beginners write is “Hello World” which is often used to illustrate the syntax of a...

C “Hello World” Program

This is a simple “Hello World” C program to display “Hello World” text on the screen. Typically, the best way to learn programming is by writing code. The first program beginners write is “Hello World” which is often used to illustrate the syntax of a...

C Language Implementation of Algorithm and Data Structures

The C programming language includes a very limited number of standard libraries or common data structures and algorithms in comparison to other modern programming languages such as Java, C# or Python. This is a collection of common algorithm and data structure...

C Language Implementation of Base64 Encoding and Decoding

Base64 encoding and decoding schemes are commonly used to encode binary data. Normally this is required when textual data needs to be transferred over the network or similar media and make sure that data is transferred without any modification. Base64 is commonly used...

Kruskal’s Algorithm Implementation in C Programming

This is the implementation of Kruskal’s Algorithm in C Programming Language.This algorithm is directly based on the generic MST (Minimum Spanning Tree) algorithm. Kruskal’s algorithm is a greedy algorithm in graph theory that finds a minimum spanning tree...

C Language Implementation of Porter’s Algorithm

The Porter stemming algorithm (or ‘Porter stemmer’) is a process for removing the commoner morphological and inflexional endings from words in English. Its main use is as part of a term normalization process that is usually done when setting up Information Retrieval...

Add time using structures in C++

Write a program having a structure named Time which has three integer data items i.e. hour, minute and second. The task is to add the variables of the Time data type though a function void AddTime(Time *time1, Time *time2) which takes as arguments the addresses of two...

Common Text Transformation Library

Common Text Transformation Library, CTTL for short, is a set of C++ classes and functions to understand and modify text data. The library implementation is based on STL classes and algorithms. The library provides components for creating lexical analyzers making...

Reading Files

This is a small C language program that can read a text file. The program is given file name as command parameter and it reads the file line by line. The program will prints out number of characters and words in each line. The program will also prints out the number...

C Program of Library Management System

This is a C program of Library Management System by which a librarian can operate a simple library. User can add multiple students, update their records and issue multiple books. This C Program shows different information about library including numbers of books and...
Page 1 of 1712345678910...Last »