![]() |
| | #1 |
| Registered User Join Date: Aug 2005
Posts: 185
| |
| thetinman is offline | |
| | #2 |
| Frequently Quite Prolix Join Date: Apr 2005 Location: Canada
Posts: 7,698
| It would probably be considered a "derived work", though I am not an expert on such matters. University licenses are usually not very strict. Read the license agreement to see the restrictions on derived works. I can tell you in advance what it would mean for you if the license was one of three common licenses.
If the license is too restrictive, find the same code somewhere else under a less restrictive license. [edit] And if you can't do that, contact the original author of the code. They may be willing to give you a break. [/edit]
__________________ dwk Seek and ye shall find. quaere et invenies. "Simplicity does not precede complexity, but follows it." -- Alan Perlis "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra "The only real mistake is the one from which we learn nothing." -- John Powell Other boards: DaniWeb, TPS Unofficial Wiki FAQ: cpwiki.sf.net My website: http://dwks.theprogrammingsite.com/ Projects: codeform, xuni, atlantis, nort, etc. |
| dwks is offline | |
| | #3 |
| Registered User Join Date: Apr 2005
Posts: 1,342
| I also put my code under the GPL, In the Public Domain someone can take your code not change one character and copyright it as their own, it's just not right . |
| Queatrix is offline | |
| | #4 |
| Registered User Join Date: Sep 2001
Posts: 752
| Copyright on a 20-line code snippet seems un-enforceable unless the code itself is somehow a distinct artistic creation (like, obfuscated code). I wouldn't worry about it. Also, copyright doesn't cover the problem of "I do this in the same way as he does.", that's a patent issue. In general, it's safe to assume code you pull off of university websites is not patented.
__________________ Callou collei we'll code the way Of prime numbers and pings! |
| QuestionC is offline | |
| | #5 |
| Crazy Fool Join Date: Jan 2003 Location: Canada
Posts: 2,596
| >After all this, my algorithm still bears a similarity to the original. Your "algorithm" is the same as the original, textually changing a few things doesn't change the underlying algorithm. >Is this modified code mine? The short answer is, no. It's like taking someones novel and renaming all the characters, that doesn't make it your book.
__________________ jeff.bagu.org - Terrain rendering and other random stuff |
| Perspective is offline | |
| | #6 |
| Fear the Reaper... Join Date: Aug 2005 Location: Toronto, Ontario, Canada
Posts: 625
| I think the safe way would be to quote the source. And then say you were inspired by it.
__________________ Teacher: "You connect with Internet Explorer, but what is your browser? You know, Yahoo, Webcrawler...?" It's great to see the educational system moving in the right direction |
| Happy_Reaper is offline | |
| | #7 |
| Registered User Join Date: Jan 2005
Posts: 7,251
| If you understand the algorithm, just rewrite the whole thing from scratch without looking at the other code. If you cannot do that, then you don't understand the algorithm used and you are copying the code. |
| Daved is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Gcc can't find obvious copy constructor | SevenThunders | C++ Programming | 13 | 03-19-2009 02:41 PM |
| calling copy constructor from template | Ancient Dragon | C++ Programming | 3 | 09-28-2005 01:54 PM |
| dynamic memory alloccation & returning objects | haditya | C++ Programming | 8 | 04-21-2005 11:55 PM |
| Quick ? on copy constructor | Traveller | C++ Programming | 3 | 05-03-2002 10:31 AM |
| Copy Constructor Help | Jubba | C++ Programming | 2 | 11-07-2001 11:15 AM |