would depend...
several colleges and firms have a clause in their contracts that states that, if you write it using their hardware (a pc in a lab at college, a laptop from work, ...) the code (and the rights to it) is theirs
if you write it on your own pc in your own time, it's "yours" assuming you're not using some pattented idea or concept (don't really know the full implications those can have, but they differ from country to country)
Reputation Points: 919
Solved Threads: 354
Nearly a Posting Maven
Offline 2,487 posts
since Jan 2007