There are 56 files, weighing 4.3 MiB with 793,140 hits in total.
Displaying 21 to 40 of 56 files.
Shortest Path
» 109.7 KiB - 12,065 hits - October 7, 2008
Shortest Path
Shuffle Game
» 4.5 KiB - 19,761 hits - February 2, 2024
The primary objective of the Shuffle Game is to arrange a set of numbers in ascending order within a grid. Players achieve this by making valid moves that swap the position of numbers in the grid. The game keeps track of the number of moves made by the player.
Snake Game
» 17.6 KiB - 9,437 hits - February 1, 2018
This C++ program is a classic snake game called "SNAKEMAN". The core mechanics of the game involve controlling a snake that moves around the screen, consuming food while avoiding obstacles and self-collision. The game incorporates various mazes, including "Open," "Box," and "Twisted," adding variety to the player's experience. The program uses BIOS interrupts and graphics functions from the Turbo C++ BGI library for rendering, making it a DOS-based game. With its structured gameplay loop, food spawning mechanics, and scoring system, "SNAKEMAN" offers a nostalgic gaming experience reminiscent of early computer games.
Snake Game
» 18.8 KiB - 63,087 hits - October 10, 2008
This program simulates the game "snake".
A string of characters moves on the screen according to arrow keys pressed by user. If it touches itself or screen boundary, the program terminates. When the snake moves, in arbitrary screen positions some digit (1-9) appears.
The Standard C++ Library: Generic algorithms
» 35.5 KiB - 11,145 hits - October 7, 2008
Algorithms are at the core of computing. To be able to write an algorithm once and for all to work with any type of sequence makes your programs both simpler and safer. The ability to customize algorithms at runtime has revolutionalized software development.
The Standard C++ Library: Generic containers
» 50.3 KiB - 6,443 hits - October 7, 2008
Container classes are the solution to a specific kind of code reuse problem. They are building blocks used to create object-oriented programs' they make the internals of a program much easier to construct.
The Standard C++ Library: IOStreams
» 24.6 KiB - 9,970 hits - October 7, 2008
The iostreams classes are usually the first part of the C++ library that new C++ programmers learn to use. This chapter discusses how iostreams are an improvement over C's stdio facilities and explores the behavior of file and string streams in addition to the standard console streams.
The Standard C++ Library: Strings
» 24.5 KiB - 6,806 hits - October 7, 2008
Standard C++ not only incorporates all the Standard C libraries (with small additions and changes to support type safety), it also adds libraries of its own. The string class member functions provide a fairly comprehensive set of tools for creating, modifying, and searching in strings.
The Standard C++ Library: Templates
» 17.5 KiB - 6,725 hits - October 7, 2008
The Standard C++ Library: Templates
Tic Tac Toe Game
» 17.2 KiB - 4,599 hits - October 10, 2008
Basic version of Tic Tac Toe Game
Tic Tac Toe Game pro
» 174.0 KiB - 34,273 hits - 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!
Vigenere Encryption and Decryption in C++
» 9.0 KiB - 4,994 hits - 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.
A2FPLOT (Read ASCII data and write in fplot style)
» 142.1 KiB - 4,870 hits - October 7, 2008
To configure the program, edit the file “jsconfig.hâ€. Since this is a general configuration file, not all settings may apply to this package. If in doubt, use grep or anything else to find out if a specific configuration symbol is used somewhere.
B-Tree implementation
» 48.0 KiB - 20,772 hits - October 7, 2008
This is implementation of Bayer-Trees, which are normally used for indices of data bases.
Bank Management Program
» 3.8 KiB - 42,887 hits - February 2, 2024
This C program is a simple banking system designed for novice programmers. The program uses graphics.h for graphical user interface elements, such as windows and buttons, and provides basic banking functionalities like creating a new account, listing all accounts, and handling account transactions. The program starts with an introduction, displaying the name of the bank using basic graphics functions. Main menu shows options to create a new account, list all accounts, show individual account info, or quit the program. It saves saves account information such as account number, name, balance, address, date, deposit, and withdrawal, in a file.
C/C++ Compiler Interface
» 52.1 KiB - 10,337 hits - October 7, 2008
It is a small program that shows a smal C program written in text mode graphics. It compiles the program and shows its output.
Calculator
» 110.9 KiB - 37,570 hits - October 7, 2008
This graphical scientific calculator purely written in C programming language. It uses small functions to draw buttons on the screen.
FLIB2C (Fortran Library to C)
» 23.0 KiB - 4,885 hits - October 7, 2008
FLIB2C is a tool to create header files that provide a simple and easy-to-use interface between FORTRAN (library) routines and C.
Generating fast sorting routines
» 7.2 KiB - 5,178 hits - October 7, 2008
In a lot of programs my gensort-utility turned out to be very useful. It consists simply of the header file “gensort.h“, contained in the above package. To obtain a sorting routine, simply define the name of the routine, the data type you want to sort and how to compare items with preprocessor symbols.
Profit/Loss Calculator
» 55.1 KiB - 8,267 hits - October 7, 2008
This is a small utility to calculate the net income by checking a person’s salary and monthly expenses, on the basis of this information it calculates the loss/profit.