Had a little fun with the triangle puzzle he talks about around 29 minutes in. Here's the source if you'd like to play with it: ww.cilution.net/Triangle.txt
Change extension to .java and it should compile/run just fine (yeah yeah it's a C course, I know)
Might not be correct. Doesn't quite look right if you watch it starting from 0 lines. Integer math when calculating mid points might be problematic, or maybe there are other issues. Was a fun detour regardless!
@CodeMonkeyCharlie After watching the next lecture I realized I misunderstood the puzzle. I was supposed to draw points, not lines (though I think the lines are still cool--almost seems to create a tetrahedron). The result using points looks very cool. You'd never guess it after looking at my line drawing version.
I Loved the stress concept .. :D one must have Balance :)
CReativityTalent 5 months ago in playlist watching this now : lecture 1
Had a little fun with the triangle puzzle he talks about around 29 minutes in. Here's the source if you'd like to play with it: ww.cilution.net/Triangle.txt
Change extension to .java and it should compile/run just fine (yeah yeah it's a C course, I know)
Might not be correct. Doesn't quite look right if you watch it starting from 0 lines. Integer math when calculating mid points might be problematic, or maybe there are other issues. Was a fun detour regardless!
CodeMonkeyCharlie 8 months ago
@CodeMonkeyCharlie After watching the next lecture I realized I misunderstood the puzzle. I was supposed to draw points, not lines (though I think the lines are still cool--almost seems to create a tetrahedron). The result using points looks very cool. You'd never guess it after looking at my line drawing version.
CodeMonkeyCharlie 8 months ago
Comment removed
CodeMonkeyCharlie 8 months ago
So "structs" are the prototypes of what would become known as "classes" in modern object-oriented languages?
drewmandan 1 year ago
can't u do
gcc -output name *.c
cuz batch programming gets em all with *
just guessing but I think it should work.
sspoke 3 years ago 7
my gcc can do this :)
kid29a 3 years ago
lol yah no problem
sspoke 3 years ago