Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prague/ Q&A

Name: Anonymous 2013-11-19 12:18

Ask /prog/ anything.

Although don't expect an answer or even a good one.

Also, keep it /prog/ related.

Name: Anonymous 2014-01-20 6:28

>>160
Well it's not quite a linked list, but it's not a graph either.

ft may be linked to in, cm, mm, and miles. miles may be linked to ft, km, and m. Maybe m is only linked to km. nm may be linked to mm and light years.

There is a way to search through that without it infinitely looping through it?

Name: Anonymous 2014-01-20 6:33

>>161
I just realized I think this can be searched through easily, but imagine there were every more links that looked circular.

Name: Anonymous 2014-01-20 7:46

>>161
It's definitely a graph.

Name: Anonymous 2014-01-20 12:04

just base everything off the standard units? every unit has a base unit.

http://en.wikipedia.org/wiki/International_System_of_Units

so to convert mm to nautical mile you first find out how many mm to a meter (the std unit) and then convert meter to mile.

you could even do things like "./convert 10 miles per hour to km per week"

Name: Anonymous 2014-01-20 13:42

>>159
What, you mean like units?

$ units
Currency exchange rates from 2013-07-11
2562 units, 85 prefixes, 66 nonlinear units

You have: 120 inches
You want: millimeters
* 3048
/ 0.00032808399


You might look at how they do it.

Name: Anonymous 2014-01-20 21:11

>>165
Or frink.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List