ehinds Goto Github PK
Type: User
Type: User
Using vectors this program contains a default and copy constructor as well as destructor. The DB uses type string vectors to insert values alphabetically and contains functions to remove, search, print, and check if the DB is empty or not. The program is split into 3 files: A header file, a cpp file for the functions of call_class, and the test driver.
Contains a default constructor that opens a file county_data.txt and adds these values into two separate binary search trees, one sorted by county name and the other sorted by population size, using insert functions. Contains a search function to search the county sorted bst by county name, insert functions for inserting into both binary search trees, delete function for deleting individual entries from both search trees, a delete all function for both trees for use in the destructor, a population_range function that prints all of the information with population sizes between a specified min and max value in the parameter section, sorted only by county name, a print_tree function that prints both search trees to the screen (county and population size sorting), and a sorted_info function that creates a file called county_info.txt and prints the county sorted bst information to this file.
Scheduling algorithms designed to simulate a First Come First Serve (FCFS) and Multi-Level Feedback Queue (MLFQ) for 8 different processor values (containing a CPU burst and I/O time) that are hardcoded. Uses a circular queue class that is also available as its own repository here on github. The programs also have various calculations such as CPU utilization, response times, turnaround times, and wait times.
An HTML5 website for converting currency using PHP
Opens a file "myData.txt" and reads and stores the information into a dynamic string array called DB. Allows 5 choices to be performed by the user: Display contents of the array to the screen, add a new entry, remove an entry, search for an entry, or exit the program. Each time a function is invoked it states that it has been invoked and if the array becomes full the size is doubled.
Runs various checks to see if the date entered is accurate. Test driver runs the default constructor as well as explicit-value constructor and lists whether the year, month, or day is inaccurate, else it will print the date using display function. Also overloads the extraction operator to print dates and checks if a year is a leap year or not.
This is an Assembly Language code for the MSP430G2553 that sets up an array LIST_IN in R5 and LIST_OUT in R7. The code initializes LIST_IN and then copies LIST_IN to LIST_OUT. The first element of the array is the number of elements in the array. While copying, if a duplicate is found in the array it will ignore it and move to the next non-duplicate element in the array while reducing the number of elements stored in the first element of LIST_OUT. This code ONLY works if the array is pre-sorted as it was designed specifically for that purpose.
This is an assembly language program designed to calculate the summation from 0 to the absolute value of (a) for the formula 2(x!) where (a) is the value stored in register 4 (R4). The value for the summation once calculated is stored in R5 and an additional formula is calculated using R5 which is (R5 + 50)/4 and this value is stored in R7. Because the MSP430G2553 is a 16 bit processor, this program can only accurately calculate up to 7 for R4 because anything further will exceed the storage space of FFFF, or 16^4
Generates a random lottery number using C++
This is an Assembly Language code for the MSP430G2553 that initializes an array in R5 with the first value of the array being the number of elements and the second value of the array being the max value allowed, known as the "filter". The program runs through the array and checks if any element in the array is larger than the filter, and if it is, it will set that element to the value equal to the filter.
Has three functions: palindrome, replace_all, and choice. Palindrome checks if a string is a palindrome or not replace all replaces a substring with a different substring, and choice allows the user to select several choices for running through the functions.
A series of functions to add (enqueue) or remove (dequeue) integer items from a circular queue using a doubly linked list. Contains a default constructor, a copy constructor, destructor, a bool value to check if empty, and a print function to print the values to the screen. Driver creates a standard queue and copy queue. The program is split into 3 files: A header file, a cpp file for the functions of call_class, and the test driver.
A simple PHP Redis mock
Compares three different sorting algorithms, (Insertion sort, Merge sort, and Quicksort) and compares run times for all three algorithms. Runs each sorting algorithm several times on increasing array sizes and takes an average. All algorithms run on the same unsorted arrays.
A sorting algorithm for the Assembly Language using MSP430G2553
Using a singly linked list stack, this program will receive an input in the form of a postfix and return an output in the form of an infix. Has several checks for errors to ensure proper output such as too many operators, too many operands, not a proper input, empty strings, single strings, and allows for spaces. The program is split into 3 files: A header file, a cpp file for the functions of call_class, and the test driver.
An HTML5 website using JQuery to generate a dynamically created To Do list with local storage
This is a side project I never finished, a basic text adventure RPG. This code demonstrates initializing stat distribution with a fixed pool of ability points as well as proper error checking for input and output in C++
An HTML5 website using JavaScript to convert various units
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.