![]() |
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? |
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* |
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.
|
Way to go, Brandon, but be careful. I wrote a program once but Aaron Spelling stole it. :haha:
|
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. |
Quote:
|
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. |
All times are GMT -5. The time now is 04:06 PM. |
Powered by: vBulletin Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.