Anitra Smith (anitra) wrote,
Anitra Smith

  • Mood:
  • Music:

Hooray good coding practices!

Just learned how to use the vector container class from the STL. This will stand me in good stead, as it is (generally) preferable to using arrays in C++. It also means I can pass by value, and use it as a return value - both very valuable to me for my AI homeworks. I really should have been using it in my previous homeworks, instead of doing recursion with *gasp* a global array (ick).

In any case, I'm hoping my partner for this AI project will understand this. It's pretty similar to what we were already doing. And it's going to make our work a whole lot easier :)

If anyone's curious about this assignment, we're making a program that can play Mancala (or Owari). For more information, see my professor's description of the project.

  • Why multi-factor authentication is great

    Two things that are making me think of multi-factor authentication lately: 1. The LinkedIn password fiasco. Yes people, passwords need to be stored…

  • MIDI

    I doubt there's anyone who reads this who is interested, but... Anyone want a really old MIDI interface (and software) for Macintosh? It uses serial…

  • Apple iTunes

    So, Apple has broken its own style guidelines once again with their newest release of iTunes (10). Not only did they change the icon to something…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded