|
Technology Computing, programming, science, electronics, telecommunications, etc. |
|
Thread Tools | Display Modes |
11-23-2014, 05:04 AM | #1 |
Eavesdropper
Join Date: Mar 2014
Location: Minnesota.
Posts: 24
|
Writing Programs
Hey all.
I'm making this thread at 5 AM while I'm sleep deprived to say I finally wrote my first program! Well, somewhat noteworthy one at least. It's nothing incredible but it's a calculator with a bit more advanced options than a regular one. I've added multiplication, division, addition, subtraction to it, as well as a menu to pick these options, and soon I'll be adding sections of code to allow for exponents, longer equations, and a menu to solve for answers to certain equations for specific problems. Since I'm incredibly new to programming I just figured I'd post about it since I'm pretty happy I was able to write it. Took 103 lines of code though, yeesh. Anyone else here program? If so, what have you written? And in what language? I'm curious. Also, anyone have a recommendation as to what I should add to this calculator? |
11-23-2014, 05:31 AM | #2 | |
We have to go back, Kate!
Join Date: Apr 2004
Location: Yorkshire
Posts: 25,964
|
That's pretty awesome brandon!
Fraid the only programmes I ever wrote were in Commodore Basic back in the Jurassic Era :p And that was with guidance from the 'Teach Yourself Commodore Basic For the Vic20' Book *grins*
__________________
Quote:
|
|
11-23-2014, 09:32 AM | #3 |
Radical Centrist
Join Date: Jan 2001
Location: Cottage of Prussia
Posts: 31,423
|
If you're in North America, the next move would be to add a Fahrenheit to Celsius converter (and vice versa). That's like 5 more lines.
|
11-23-2014, 09:40 AM | #4 |
The future is unwritten
Join Date: Oct 2002
Posts: 71,105
|
Way to go, Brandon, but be careful. I wrote a program once but Aaron Spelling stole it.
__________________
The descent of man ~ Nixon, Friedman, Reagan, Trump. |
11-23-2014, 05:56 PM | #5 |
Deplorable
Join Date: Oct 2013
Location: Dallas, TX
Posts: 767
|
It's a good feeling, isn't it? When you complie and execute your own code and it works!
I remember my early programming in various flavors of BASIC, on TRS-80s, Franklin ACE 1000s and a Sperry UTS-40. My favorite was CBASIC, which compiled into an intermediate assembly file, which in turn compiled into a regular executable. I always insisted in turning in my comp sci homework listed in CBASIC. Printed on greenbar 132 col paper. |
11-23-2014, 05:58 PM | #6 |
Read? I only know how to write.
Join Date: Jan 2001
Posts: 11,933
|
|
12-12-2014, 08:49 AM | #7 |
Eavesdropper
Join Date: Mar 2014
Location: Minnesota.
Posts: 24
|
Quick update, but I've created a few more simple programs that deal with calculating percentages and giving a letter grade, and a few other math programs. I tried to make a mini game but due to lack of creativity I haven't done one yet.
I'm just getting around to the Fahrenheit to celsius bit though for the calculation program I'm working on; I've been too lazy. |
Tags |
calculator, math, programming, technology |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|