Source Code Downloads

Download free C and C++ source code, projects, and example programs at MYCPLUS. Explore ready-to-use code for learning, development, and building real-world applications.

There are 56 files, weighing 4.3 MiB with 793,167 hits in total.

Displaying 1 to 20 of 56 files.

  256-bit Serpent VB Implementation
» 6.8 KiB - 5,514 hits - March 29, 2009
This is an extremely slow but working Visual Basic implementation of the 256-bit Serpent algorithm. Since Visual Basic is bogged down by memory problems and lacks the power that C provides, high level speeds for this algorithm may never be achieved in VB.

  C++ Wave File Writer
» 6.1 KiB - 3,988 hits - January 7, 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.

  Cache Coherence Mechanism
» 12.5 KiB - 8,492 hits - January 31, 2018
This project simulates the cache coherence problem graphically.

  Car Race Game
» 28.6 KiB - 19,403 hits - 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.

  Defensive Programming Techniques
» 14.0 KiB - 11,486 hits - October 7, 2008
Writing perfect software may be an elusive Holy Grail for developers, but a few defensive techniques, routinely applied, can go a long way toward narrowing the gap between code and ideal.

  Demonstration of inheritance
» 2.8 KiB - 9,295 hits - October 7, 2008
Demonstration of inheritance in C++ Programming Language.

  Design patterns
» 21.7 KiB - 14,367 hits - October 7, 2008
This source code introduces the important and yet nontraditional "patterns" approach to program design.

  Exception Handling
» 15.9 KiB - 9,100 hits - October 7, 2008
Exceptions are one of those features that provide immediate and significant benefits to your project.

  Flexible Vector and Matrix
» 30.1 KiB - 7,053 hits - October 7, 2008
Flexible Vector and Matrix (Vectors and Matrix with Arbitrary Bounds)

  Fly away to your vacation
» 6.2 KiB - 10,108 hits - October 7, 2008
The object of the game is to get to your proper plane on time so you can fly away to your vacation. Of course there a few obstacles and problems along the way and they will be brought up at the appropriate time. It will be up to you to solve the puzzles associated with each problem.

  Graphics Header Library File (graphics.h)
» 11.2 KiB - 3,275 hits - January 4, 2023
Graphics header library file (graphics.h) which contains definitions for graphics drivers, Colors for setpalette and setallpalette, graphical elements such as lines, and patterns.

  Great Librarian
» 34.0 KiB - 21,492 hits - October 11, 2008
A C source code dy which a librarian can operate his library more fast without any resistration book.

  L1 Cache implementation in C
» 299.2 KiB - 4,851 hits - 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.

  Message Digest Utility
» 32.8 KiB - 6,510 hits - October 7, 2008
This is a special console based utility which will calculate the Message Digest, Base 64 Encoding and Decoding, Checks the Message Digest and give output through file or through screen you can use this class to make the dll.

  Miltiple Inheritance
» 17.7 KiB - 9,251 hits - October 7, 2008
The basic concept of multiple inheritance (MI) sounds simple enough: you create a new type by inheriting from more than one base class. The syntax is exactly what you'd expect, and as long as the inheritance diagrams are simple, MI can be simple as well.

  My Piano
» 132.3 KiB - 26,379 hits - October 7, 2008
MyPiano 3.0 is a simple piano developed in C++ using graphics functions.

  Paint in DOS
» 66.6 KiB - 8,434 hits - January 31, 2018
C program to demonstrate Paint in command mode.

  PC to PC Communication
» 31.0 KiB - 17,251 hits - October 7, 2008
PC to PC Communication via RS232 port. Chat with only 3-wire connection.

  Ping C Program
» 7.1 KiB - 5,259 hits - 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.

  Runtime type identification (RTTI)
» 13.3 KiB - 4,967 hits - October 7, 2008
Runtime type identification (RTTI) lets you find the dynamic type of an object when you have only a pointer or a reference to the base type.

   

 Page 1 of 3  1  2  3  » 

Scroll to Top