perfect
Joined: 8th Jul 2009
Posts: 1424
tax-add program..?
Ellos. My mom was adding her taxes up, and she looked really pissed. My question is how can i make a program similar to this :(?
So my idea is, having a text file in the same directory of a program(Probably named addtaxes.exe). The text file would be named taxes.txt. Now all my mom has to do is add the price of the into the text file, on a new line. Then she would save the file. Once shes ready to
calculate all the prices, she clicks the executable(addtaxes.exe) and in a box it tells her the amount?
Thanks SOOO much (:
14 years, 7 weeks ago
|
Re: tax-add program..?
You can do this with Microsoft Excel and some math.
---
original-gaming.com
Free your mind
14 years, 7 weeks ago
|
perfect
Joined: 8th Jul 2009
Posts: 1424
Re: tax-add program..?
kingkornholeo posted: (16th Mar 2011 12:59 am)
You can do this with Microsoft Excel and some math.
Tolazy to download Excel.
14 years, 7 weeks ago
|
Mattâ„¢

Joined: 17th Apr 2010
Posts: 1019
Re: tax-add program..?
Download vs Create.. And too lazy for the first..
You're strange.
---
420Иﻜ0o
"The Lord is a shoving leopard."
14 years, 7 weeks ago
|
perfect
Joined: 8th Jul 2009
Posts: 1424
Re: tax-add program..?
Matt⢠posted: (16th Mar 2011 01:05 am)
Download vs Create.. And too lazy for the first..
You're strange.
Naw, making this program will help me learn, other then downloading a program that pretty-much does it for me.
14 years, 7 weeks ago
|
Kayleigh

Joined: 15th Mar 2011
Posts: 129
Re: tax-add program..?
Hey?! It would make your mom's work easier (that's what she said :P)
so why not download it?!
14 years, 7 weeks ago
|
Addison

Joined: 24th Mar 2009
Posts: 1380
Re: tax-add program..?
There is only two reasons to create a program, to learn, or to provide a NEW service to users. Obviously, what you want to make already exists and is pointless. It's a pointless process to make since the code would probably be 100 lines or less. Try coding something that will teach you
somethingmore. Maybe try a console game, or if you are advanced, try learning Win32 or using Allegro to create a game.
Oh yeah, if I had to do my taxes, I'd sure as hell pick Microsoft's Excel over yours :P
Edit: I guess I'll stay on-topic and try to tell you how you can do this. If you want to disregard everyone's advice here, then you will want to look up about File I/O in C++. Which is all in the header stdio.h. That would get you to loading the values from a text file, then you will just have
to use some math and print out the return value(printf is what is commonly used).
---
http://www.addipop.com
14 years, 7 weeks ago
|
Ananas
Moderator
Joined: 22nd Apr 2009
Posts: 2190
Re: tax-add program..?
What happend to the old fashion way D:?
Needed stuff:
- Pencil
- Paper
- Calculator
---
"Pineapples and shit."
14 years, 7 weeks ago
|
Apollo
Administrator
Joined: 14th Apr 2009
Posts: 2759
Re: tax-add program..?
Now this would be a useful command to add to eoserv, $taxreturn #grosswages #federalwitholdings #statewithholdings and return payment/refund. I was actually thinking of adding a simple math command. Anyway, taxes aren't really hard to do for an individual/family unless you are a business owner
yourself. Essentially it is simple math.
14 years, 7 weeks ago
|
Addison

Joined: 24th Mar 2009
Posts: 1380
Re: tax-add program..?
Apollo posted: (16th Mar 2011 07:03 am)
Now this would be a useful command to add to eoserv, $taxreturn #grosswages #federalwitholdings #statewithholdings and return payment/refund. I was actually thinking of adding a simple math command. Anyway, taxes aren't really hard to do for an individual/family unless you are a business
owneryourself. Essentially it is simple math.
I thought you hated player commands. I recall you saying that they are simply just unneeded. :P
---
http://www.addipop.com
14 years, 7 weeks ago
| | | | | | | | | | |