Older Posts
| View Topic : Why Python? | | I don't get why they want you to know Python for introductory AI. Learning Lisp or Prolog would make more sense. |
| View Topic : array Problem | I guess if you use that method, you may as well not use an array at all.
i.e. just use the built-in type iterators. They're stored in a linked-list, so effectively you'd have a dynamic array. |
| View Topic : array Problem | I'm no Blitz expert, so apologies if this is utter crap.
It seems to me you could wrap the string array in a custom type.
This would be passed by reference, e.g.
-->
|
| View Topic : C++ Pointer Loving | If you're seeking to illustrate the use of references, it's a bad example.
Not wanting to appear too critical... but the return statement in your increment() function is completely redundant.
Actually, the function itself is inefficient and would probably be better implemented as a macro - that's assuming you really need to rename that particular operation in the first place, which I would also question. |
Older Posts |