There are total 55 c/c++ source code files, with 682,863 hits in total.
Displaying 1 to 15 of 55 files.
Ping C Program
» 7.1 KiB - 2,926 hits - Last Update: January 18, 2021
This sample C program demonstrates how an ICMP ping app can be written using the SOCK_RAW socket type and IPPROTO_ICMP protocol. Ping is a necessary tool in any Operating System to debug the IP address of the network device to see if the device is reachable.
C++ Wave File Writer
» 6.1 KiB - 1,864 hits - Last Update: February 13, 2021
This C++ program is capable of turning a text file describing the notes of a piece of music into an audio file (.wav). The program reads the contents of the input file i.e. input.txt, constructs Song, Voice and Note objects describing the notes in the file, and call the different functions of Song and Voice and Note C++ classes.
L1 Cache implementation in C
» 299.2 KiB - 2,403 hits - Last Update: January 4, 2021
This is a C program to demonstrate cache mechanism by simulating a cache in C. The source code can run in any C Compiler with minor modifications if required. It can run on real memory traces as input to your cache simulator. We have implemented two cache replacement policies i.e. least recently used (LRU) and First-in first-out (FIFO) replacement policies.
Vigenere Encryption and Decryption in C++
» 9.0 KiB - 2,448 hits - Last Update: January 1, 2021
In this C++ source code, we show classes capable of encoding and decoding messages according to the Vigenere cipher. Both classes i.e. VigenereEncrypt and VigenereDecrypt inherit from the EncryptedFileWriter and EncryptedFileReader classes respectively. Both these classes override the encrypt function of EncryptedFileWriter and decrypt function of EncryptedFileReader to achieve the desired results.
Bank Management Program
» 3.8 KiB - 40,742 hits - Last Update: April 6, 2020
This is an automated software system written in C programming language for Bank Management which can handle accounts for customers.
Tic Tac Toe Game pro
» 174.0 KiB - 32,237 hits - Last Update: February 14, 2020
Pro version of Tic Tac Toe console Game. It has been fully ported to latest C++ standard and can be build/compiled for 32bit or 64bit windows architectures using Visual Studio 2017.Complete Visual studio project is provided with the source code, so just download the code, open up the solution in visual studio and run the program.Enjoy!
Car Race Game
» 28.6 KiB - 16,605 hits - Last Update: December 30, 2018
This is a simple C++ program to make a car race game. It uses object oriented approach to generate different objects in the game such as using Car, Obstacle and Timer classes.
» 17.6 KiB - 7,279 hits - Last Update: February 1, 2018
Cache Coherence Mechanism
» 12.5 KiB - 6,641 hits - Last Update: January 31, 2018
This project simulates the cache coherence problem graphically.
Paint in DOS
» 66.6 KiB - 6,494 hits - Last Update: January 31, 2018
C program to demonstrate Paint in command mode.
Advanced topics II - C++ Lecture Notes
» 218.3 KiB - 17,121 hits - Last Update: May 30, 2015
Advanced topics I - C++ Lecture Notes
» 111.7 KiB - 11,689 hits - Last Update: May 30, 2015
Templates, Standard Template Library and Operator Overloading.
Memory Management - C++ Lecture Notes
» 513.5 KiB - 13,081 hits - Last Update: May 30, 2015
Memory management, Allocation and Deallocation, new and delete operators.
Object-Oriented Programming - C++ Lecture Notes
» 147.0 KiB - 13,801 hits - Last Update: May 30, 2015
The Basic Ideas of OOP, Encapsulation, Inheritance, Polymorphism and Multiple Inheritance.
Classes - C++ Lecture Notes
» 503.4 KiB - 12,586 hits - Last Update: May 30, 2015
Class declaration, instances, accessing fields, passing as parameters and constructors.