我需要在c ++中使用oo代码来使用其他类继承的模板。程序必须是200到300行 [英] I need a oo code in c++ that make the use of template inherited by other class. program must be of 200 to 300 lines
本文介绍了我需要在c ++中使用oo代码来使用其他类继承的模板。程序必须是200到300行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮助我,因为它对我的研究工作有很大贡献。
Please help me as it is a great contribution towards my research work.
推荐答案
您可以通过从包含其他类的类中派生您的类来继承该模板模板定义。
You can inherit the template by deriving your class from the other class that includes the template definition.
您可以在文章部分找到数百个样本 [ ^ ]。如果您发布包含其他人工作的研究论文,请确保您确认作者身份。
You can find hundreds of samples in the articles section[^]. Just make sure you acknowledge the authorship if you publish a research paper that includes other people''s work.
引用:
我的研究工作
名称说明了一切:它是你的研究工作,而非集体努力例如,一个开源项目。
您应该尝试自己编码,然后在遇到问题时问这个具体问题。
The name says it all: it is your research work, not a collective effort, like, for instance, an open source project.
You should try yourself to code it and just ask here specific question when you get stuck.
这篇关于我需要在c ++中使用oo代码来使用其他类继承的模板。程序必须是200到300行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文