Click here to Skip to main content
16,006,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalfatal error C1083 Pin
youssef12-Nov-02 1:25
youssef12-Nov-02 1:25 
GeneralRe: fatal error C1083 Pin
Daniel Turini12-Nov-02 1:32
Daniel Turini12-Nov-02 1:32 
GeneralRe: fatal error C1083 Pin
Maximilien12-Nov-02 2:30
Maximilien12-Nov-02 2:30 
GeneralRe: fatal error C1083 Pin
KarstenK12-Nov-02 3:04
mveKarstenK12-Nov-02 3:04 
GeneralWorkspace idiocy Pin
Anonymous12-Nov-02 0:29
Anonymous12-Nov-02 0:29 
Generalcontrol box and menues Pin
emrosa12-Nov-02 0:26
emrosa12-Nov-02 0:26 
GeneralRe: control box and menues Pin
Maximilien12-Nov-02 2:41
Maximilien12-Nov-02 2:41 
GeneralCP code snippets reusing question Pin
pitch bender12-Nov-02 0:19
susspitch bender12-Nov-02 0:19 
Hello all,
I have started programming in VC7 and visiting this excellent website: it's really a code source 'gold mine' Smile | :) plenty of very helpful articles and code samples.
Now, I have read the following FAQ:

Can I use code snippets and programs in my own work?
Yes. Some authors may have specific restrictions on using code in commercial apps such as providing credit in documentation or sending them an email first, but all code can be used for free.

I have noticed though that in many, many articles *there are'nt* restrictions mentioned at all or only inside the source code i can find something like some comment line ie: '(C) 2002 by programmer name' etc.
But the compiler strips the comments out, right? So i think in the final EXE there will not be any reference to the author.

So far it seems to me that PJ Naughter's Freeware Library (http://www.codeproject.com/library/pj.asp) has one of the clearest specifications about the above:


-You are allowed to include the source code in any product (commercial, shareware, freeware or otherwise) when your product is released in binary form.
-You are allowed to modify the source code in any way you want except you cannot modify the copyright details at the top of each module.
-If you want to distribute source code with your application, then you are only allowed to distribute versions released by the author. This is to maintain a single distribution point for the source code.


But in the other articles (those not telling you anything about this stuff)?

I will appreciate very much any opinion/tips in order to be able to correctly reuse the code samples located in this website. As pointed out, i'd like to know especially the correct way to reuse code sampels/snippets not telling any specific and clear restrictions.
for example vould I simply assume in all these situations that it would be right using by default the PJ Naughter's rules?

thanks in advance!
GeneralRe: CP code snippets reusing question Pin
benjymous12-Nov-02 1:02
benjymous12-Nov-02 1:02 
GeneralHelp! about PreTranslateMessage in a COM DLL Pin
Simon.W11-Nov-02 23:52
Simon.W11-Nov-02 23:52 
GeneralRe: Help! about PreTranslateMessage in a COM DLL Pin
dabs12-Nov-02 2:20
dabs12-Nov-02 2:20 
GeneralScrollbar looses grip Pin
Daffy d.11-Nov-02 23:48
Daffy d.11-Nov-02 23:48 
GeneralRe: Scrollbar looses grip Pin
Daffy d.11-Nov-02 23:57
Daffy d.11-Nov-02 23:57 
GeneralC#-dialog in a VC-Project Pin
deafpat11-Nov-02 23:47
deafpat11-Nov-02 23:47 
GeneralRandom Numbers Pin
Josus11-Nov-02 23:33
Josus11-Nov-02 23:33 
GeneralRe: Random Numbers Pin
tongc11-Nov-02 23:45
tongc11-Nov-02 23:45 
GeneralRe: Random Numbers Pin
Daffy d.12-Nov-02 0:15
Daffy d.12-Nov-02 0:15 
GeneralRe: Random Numbers Pin
Josus12-Nov-02 0:43
Josus12-Nov-02 0:43 
Questionhow to refresh the contents in a treeview? Pin
jack111-Nov-02 23:27
jack111-Nov-02 23:27 
AnswerRe: how to refresh the contents in a treeview? Pin
Paul Ingles11-Nov-02 23:35
Paul Ingles11-Nov-02 23:35 
Generalcode project search bar! How??/ Pin
tongc11-Nov-02 23:12
tongc11-Nov-02 23:12 
GeneralRe: code project search bar! How??/ Pin
Michael Dunn12-Nov-02 4:52
sitebuilderMichael Dunn12-Nov-02 4:52 
GeneralRe: code project search bar! How??/ Pin
tongc12-Nov-02 22:15
tongc12-Nov-02 22:15 
GeneralPutting a main Menu in a Dialog Box Pin
GurGur11-Nov-02 22:52
GurGur11-Nov-02 22:52 
GeneralRe: Putting a main Menu in a Dialog Box Pin
567890123412-Nov-02 4:13
567890123412-Nov-02 4:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.