Program code is no different from any other copyright material: it belongs to the person who created it. In theory, you would need to ask permission from that person in order to copy it and use it.
In practice, it's safe to assume that if a forum member posts their code here, they are implicitly giving their permission for other forum members to copy it and use it. That is the very reason they post the code.
At least, that applies to code that was written by the person who posted it. If that person copied it from some other source without permission, then that would indeed be a violation of copyright on their part. But it's unlikely that the original author would object. Most programmers post code on the web because they want to share their knowledge and programming skills, and would probably be happy for others to use it.
Note that we are talking here about your copying code for your own use, in your own applications or for your employer or clients. If you took someone else's code and then re-published it without permission as if it was your own, that would be a different matter.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.