Advertisement
GeeckoDev

fat-1

Aug 25th, 2011
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.08 KB | None | 0 0
  1. geecko@geeckopc:/media/SD/PC$ gcc fat.c -Wall -lm -o ~/fat
  2. geecko@geeckopc:/media/SD/PC$ ~/fat
  3. Financial account tracker (FAT) v0.0
  4. Usage: fat COMMAND [ARGS]
  5.  
  6. Commands available:
  7.    add
  8.    delete
  9. geecko@geeckopc:/media/SD/PC$ ~/fat add "Ouverture" 100
  10. Adding an operation (25/08/2011):
  11.  - ID is #1
  12.  - Description is "Ouverture"
  13.  - Amount is 100.00 euro(s)
  14.  - Current balance is 100.00 euro(s)
  15. geecko@geeckopc:/media/SD/PC$ ~/fat add "Paypal" -20
  16. Adding an operation (25/08/2011):
  17.  - ID is #2
  18.  - Description is "Paypal"
  19.  - Amount is -20.00 euro(s)
  20.  - Current balance is 80.00 euro(s)
  21. geecko@geeckopc:/media/SD/PC$ ~/fat delete
  22. Deleting the last operation (25/08/2011):
  23.  - ID is back to #1
  24.  - Description was "Paypal"
  25.  - Amount was -20.00 euro(s)
  26.  - Balance is back to 100.00 euro(s)
  27. geecko@geeckopc:/media/SD/PC$ ~/fat delete
  28. Deleting the last operation (25/08/2011):
  29.  - ID is back to #0
  30.  - Description was "Ouverture"
  31.  - Amount was 100.00 euro(s)
  32.  - Balance is back to 0.00 euro(s)
  33. geecko@geeckopc:/media/SD/PC$ ~/fat delete
  34. Nothing to delete
  35. geecko@geeckopc:/media/SD/PC$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement