C ++类动态记忆分配 [英] c++ classes dyanmic memori allocation

查看:60
本文介绍了C ++类动态记忆分配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何构建类对象的链接列表

how to built the link list of class objects

推荐答案

如果这是家庭作业,您将无法在此处获得答案(也不会学你的老师,反正要你学).

如果这是用于项目,请不要这样做.这就是STL的目的.您可能需要此 http://www.cplusplus.com/reference/stl/list/ [ ^ ].
If this is homework, you won''t get an answer here (and wouldn''t learn what you''re teacher wants you to learn anyway).

If this is for project, don''t. This is what the STL is for. You probably want this http://www.cplusplus.com/reference/stl/list/[^].


这篇关于C ++类动态记忆分配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆