Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / calculator program

Author
Message
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 13th Jul 2004 01:17 Edited at: 13th Jul 2004 01:19
hi please come whit comments about this program
Cypher Hax0r
20
Years of Service
User Offline
Joined: 16th Dec 2003
Location: Toilet
Posted: 13th Jul 2004 02:17
calculators do more then just adding numbers maybe you should make it so your able to add, divide, subtract and multiply
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 13th Jul 2004 03:34
year.. but im not so good at coding yet....
im not a newbie.... and im not a good coder.... YET!
i think im medium.... im reding in "beginners guide to darkbasic game programming" so im learn some new things every day..
Filmmaker Screenwriter
21
Years of Service
User Offline
Joined: 7th Jul 2003
Location:
Posted: 13th Jul 2004 05:04 Edited at: 13th Jul 2004 05:34
Dude, if you don't know how to make it subtract, multiply, or divide, that's really sad. It's one of the first things you learn in the DB help files.

Add: +
Subtract: -
Multiply: *
Divide: /

Simple as that.

Plus, why did u assign variables to variables??

You could have just said c = a+b....

Tell ya what, I'll help you though. I'm going to use your code then give it to you doing all four of those just to show you how it would work. Okay? So just keep checking here.

Member of Bee Hive Studios | freewebs.com/beehivestudios
Currently developing: 3D PacMan (tentative title)
Filmmaker Screenwriter
21
Years of Service
User Offline
Joined: 7th Jul 2003
Location:
Posted: 13th Jul 2004 05:25 Edited at: 13th Jul 2004 05:40
Here, try this! I'm sure there are better ways to code a program like this but I am also a newb so this is the best I could do with my knowledge so far.



Wether that's 20 lines or not, idk, but I'm just showing the nerd something...

Member of Bee Hive Studios | freewebs.com/beehivestudios
Currently developing: 3D PacMan (tentative title)
Lightwar siX
20
Years of Service
User Offline
Joined: 24th Jun 2004
Location:
Posted: 18th Jul 2004 18:33
haha....is this guy serious?

Bah

Login to post a reply

Server time is: 2024-11-23 12:53:19
Your offset time is: 2024-11-23 12:53:19