Some websites you might like to check out, which I believe support Smokin's analysis of the copyright issue, are:
http://www.ivanhoffman.com/student.html http://www.lib.ncsu.edu/dspc/tutorial/copyuse/students1.htmlhttp://library.prairiestate.edu/cpyrt.htmhttp://www.lib.unc.edu/instruct/copyright/student/work.htmlWould just add a caveat, re being under 18, however. While generally contracts are not enforceable against minors, this is not an absolute rule for all situations. There are exceptions (e.g., contracts for "necessitities"). My instinct is to think that certain contracts in a school setting could be among them (student loan contracts are exceptions in some states, I believe), and so I wouldn't want to presume a waiver wouldn't matter without first specifically checking into the enforceability of school agreements against minors (about copyright) in the state in question. Also, note that if you enter a contract while a minor, and do not object before reaching the age of majority, you may be considered to have "ratified" the contract and be held to it as an adult. (I'm expecting that a waiver of IP rights would not be enforceable against a minor, but just caution that this should be investigated.)
Another thought for you: While I believe copyright is by far the form of protection most commonly used for computer programs, if you have some really inventive programming involved, patent law might possibly be implicated. You may want ask about that (in generalities) in the patent forum and/or do an initial consult (using specifics) with a patent attorney to see if any aspects of your program may be appropriate for patent protection. (While I believe most foreign countries require you to file for your patent before publicly disclosing the invention, in the US you have a year from first publication.)