Giter VIP home page Giter VIP logo

kapp's People

Contributors

bettencb avatar

Stargazers

 avatar

Watchers

 avatar

kapp's Issues

Add Clear Data Features

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)

pthread

POSIX pthread Implementation

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 app

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)

  • FILE WRITE added

Introduce Binary for Data

Implement binary data files

Do so for the READ & WRITE functions in the app

  • app can write (save) data as a binary file (.bin)
  • app can read (open) data as a binary file (.bin)

Swap User Input To Pointer

Change over the function that gets the user's input to use pointers instead of arrays

  • Use pointers on the name of the transaction
  • Use pointers on the amount (x) being stored, make sure it acts like an array still

Add FILE READ to app

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)

  • Add FILE READ to application
  • Iterate through data printing out what has been previously stored

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.