Giter VIP home page Giter VIP logo

ehinds's Projects

basics-with-vectors icon basics-with-vectors

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.

binary-search-trees icon binary-search-trees

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.

cpu-scheduling icon cpu-scheduling

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.

database-array icon database-array

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.

date-checker icon date-checker

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.

duplicate-remover icon duplicate-remover

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.

factorial-assembly-code icon factorial-assembly-code

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

max-filter icon max-filter

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.

palindrome- icon palindrome-

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.

queue icon queue

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.

run-time-analysis-for-sorting-algs icon run-time-analysis-for-sorting-algs

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.

stacks icon stacks

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.

to-do-list-website icon to-do-list-website

An HTML5 website using JQuery to generate a dynamically created To Do list with local storage

unfinished-text-adventure-rpg icon unfinished-text-adventure-rpg

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++

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.