rKarthik

Can anyone tell me if there is a way to automatically add code templates for Visual C++ 6.0 so that a new cpp or header file would be created with that template.

Thanks,

KarthikR




Re: Visual C++ General Code templates in Visual C++ 6.0

Sdi

You can customize the code generation for new projects using a Custom AppWizard, but I don' think there's any way to tell VC to inject code just for creating a new source or header file.



Re: Visual C++ General Code templates in Visual C++ 6.0

rKarthik

That is really difficult to believe. Suppose I just want a way so that all the header files that I create have a default copyright notice etc, are you suggesting there is not way to provide such a template . If not, can I write some macro or something and ensure that it gets invoked whenever I create a new file within VC++.

Thanks,

KarthikR