Forum: Posting Games Jan 22nd, 2007 |
| Replies: 3,185 Views: 184,175 |
Forum: Computer Science and Software Design Oct 30th, 2004 |
| Replies: 2 Views: 24,108 Re: YaBasic: The beginners choice Code Style
---------------
Comments are useful for telling people WTF this code is supposed to do, but there's another aspect to readability - formatting!
Most languages allow a programmer to write... |
Forum: C++ Oct 20th, 2004 |
| Replies: 2 Views: 3,893 Re: How to write a program using a stack Consider the definition of a stack - last-in, first-out. If you load a bunch of stuff into a stack, and then take it all out again, you now have your original items *in reverse order*. |
Forum: C++ Oct 6th, 2004 |
| Replies: 3 Views: 2,102 Re: problem in creating a rectangle at a angle Take the points (1,1), (1,-1), (-1,1) and (-1,-1). Stretch the set to however wide/tall you need, then run all four through
x *= cos(a);
y *= sin(a);
It's the same principle as in the... |
Forum: C Oct 6th, 2004 |
| Replies: 2 Views: 2,030 Re: creating a ellispse at any aspect angle Construct the formula for the ellipse in standard position, and then use an affine transformation to rotate it. Better yet, if you need to draw it to screen, construct the parametric formula for the... |
Forum: Computer Science and Software Design Oct 6th, 2004 |
| Replies: 2 Views: 8,748 Re: Simple Programming Errors The Maintenance-Time Error
The original author didn't comment, used crappy and inconsistent code style, and obfuscated because it made him/her feel clever. So now when the system needs updating, the... |
Forum: Computer Science and Software Design Oct 6th, 2004 |
| Replies: 6 Views: 3,479 Re: Haskell Haskell is a functional programming language. Similar in that respect to LISP or Scheme, but it is a lot more rigorous about types and formal math. I had the great luck to be in the 'guinea-pig'... |
Forum: Computer Science and Software Design Oct 6th, 2004 |
| Replies: 9 Views: 4,296 Re: Md5 - Wtf? lmao.
Might I just bring this down to earth a bit and ask if you don't think that many bafrickingzillion possible distinct hashes will be ENOUGH?? |
Forum: Computer Science and Software Design Oct 6th, 2004 |
| Replies: 2 Views: 3,149 Re: Math/computerscience Log Problem- Helpppp That's exactly the question that logarithms will answer. Were invented to answer.
Going back to the definition: a^x=b --> log_a(b)=x, we have 36 as the base, and we know the result of the... |
Forum: Computer Science and Software Design Oct 6th, 2004 |
| Replies: 9 Views: 4,304 |
Forum: Computer Science and Software Design Oct 6th, 2004 |
| Replies: 4 Views: 5,274 Re: Programming .exe files directly Does Windows filter the input so much that typing ALT+(ASCII) codes won't produce the right results?
*Nuez goes to check.
Yeah, guess it does. :rolleyes: |
Forum: Computer Science and Software Design Oct 6th, 2004 |
| Replies: 3 Views: 4,638 |