There are total 55 c/c++ source code files, with 627,101 hits in total.
Displaying 1 to 15 of 55 files.
Ping C Program
» 7.1 KiB - 456 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 - 415 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 - 387 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 - 388 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 - 39,687 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 - 31,188 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 - 14,015 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 - 6,337 hits - Last Update: February 1, 2018
Cache Coherence Mechanism
» 12.5 KiB - 5,909 hits - Last Update: January 31, 2018
This project simulates the cache coherence problem graphically.
Paint in DOS
» 66.6 KiB - 5,812 hits - Last Update: January 31, 2018
C program to demonstrate Paint in command mode.
Advanced topics II - C++ Lecture Notes
» 218.3 KiB - 15,903 hits - Last Update: May 30, 2015
Advanced topics I - C++ Lecture Notes
» 111.7 KiB - 10,453 hits - Last Update: May 30, 2015
Templates, Standard Template Library and Operator Overloading.
Memory Management - C++ Lecture Notes
» 513.5 KiB - 11,528 hits - Last Update: May 30, 2015
Memory management, Allocation and Deallocation, new and delete operators.
Object-Oriented Programming - C++ Lecture Notes
» 147.0 KiB - 12,371 hits - Last Update: May 30, 2015
The Basic Ideas of OOP, Encapsulation, Inheritance, Polymorphism and Multiple Inheritance.
Classes - C++ Lecture Notes
» 503.4 KiB - 10,969 hits - Last Update: May 30, 2015
Class declaration, instances, accessing fields, passing as parameters and constructors.