bettencb / kapp Goto Github PK
View Code? Open in Web Editor NEWKeep track of $$$ exchanges between two parties in an easy-to-view text file.
Keep track of $$$ exchanges between two parties in an easy-to-view text file.
Implement different algorithms to clear data:
If the total is $0 then clear the file (.data.txt)
If the user enters clear for the name of the transaction
If the amount of transactions is at 9 transactions, follow steps below:
clear the data file
Automatically write "total" and the total of the amount owed to the file
Only one transaction should exist at the end of the auto transaction clear. (i.e.-the total)
Can pthread be used here?
If the arrays were pointer variables, could the pthread.h library be utilized?
-[] What if the data size was really large?
-[] Could the math for the total be done quicker?
-[] What if it performed calculations on categories (i.e.-similar transaction names, summing the amount and count)
Submit answers as a NEW commit below
Add file write to the application so that the users data is stored at the end of the file's already existing data. (i.e. - if the file already has 2 entries, the 3rd entry should be the data entered by the user)
Do so for the READ & WRITE functions in the app
Change over the function that gets the user's input to use pointers instead of arrays
Change the file write function to use pointers instead of arrays
Add file read to the project, when first read into the application sort through the data read in printing out what is already saved (names_array, amount_array, grand_total)
Switch the file read function to use pointers rather than arrays
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.