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

2D dynamic bool array?

Name: Anonymous 2006-01-03 16:44

I want to create a 2D dynamic bool array (or char is fine too). I'm doing the n-queens problem and I've figured everything out except for this part. Any help?

Name: Anonymous 2006-01-11 3:11

>>35 does not understand tail recursion.
A compiler does not have to be smart to convert tail recursion to iteration; it merely has to avoid being dumb. It's trivially optimizable. That's why Scheme can include it as part of its spec; the programmer can expect it to be implemented so that he knows he doesn't have to use ugly loop contructs.

You might as well say programmers should assign memory addresses for all their variables because you can't rely on on the compiler for every little thing.

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