Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- geecko@geeckopc:/media/SD/PC$ gcc fat.c -Wall -lm -o ~/fat
- geecko@geeckopc:/media/SD/PC$ ~/fat
- Financial account tracker (FAT) v0.0
- Usage: fat COMMAND [ARGS]
- Commands available:
- add
- delete
- geecko@geeckopc:/media/SD/PC$ ~/fat add "Ouverture" 100
- Adding an operation (25/08/2011):
- - ID is #1
- - Description is "Ouverture"
- - Amount is 100.00 euro(s)
- - Current balance is 100.00 euro(s)
- geecko@geeckopc:/media/SD/PC$ ~/fat add "Paypal" -20
- Adding an operation (25/08/2011):
- - ID is #2
- - Description is "Paypal"
- - Amount is -20.00 euro(s)
- - Current balance is 80.00 euro(s)
- geecko@geeckopc:/media/SD/PC$ ~/fat delete
- Deleting the last operation (25/08/2011):
- - ID is back to #1
- - Description was "Paypal"
- - Amount was -20.00 euro(s)
- - Balance is back to 100.00 euro(s)
- geecko@geeckopc:/media/SD/PC$ ~/fat delete
- Deleting the last operation (25/08/2011):
- - ID is back to #0
- - Description was "Ouverture"
- - Amount was 100.00 euro(s)
- - Balance is back to 0.00 euro(s)
- geecko@geeckopc:/media/SD/PC$ ~/fat delete
- Nothing to delete
- geecko@geeckopc:/media/SD/PC$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement