摘要: 13.8 Write a smart pointer class. A smart pointer is a data type, usually implemented with templates, that simulates a pointer while also providing au... 阅读全文
posted @ 2015-11-02 13:32 Grandyang 阅读(910) 评论(0) 推荐(0)
摘要: 13.7 Write a method that takes a pointer to a Node structure as a parameter and returns a complete copy of the passed in data structure. The Node data... 阅读全文
posted @ 2015-11-02 11:55 Grandyang 阅读(914) 评论(0) 推荐(0)
摘要: You are playing the followingBulls and Cowsgame with your friend: You write a 4-digit secret number and ask your friend to guess it, each time your fr... 阅读全文
posted @ 2015-11-02 04:37 Grandyang 阅读(15716) 评论(4) 推荐(0)
Fork me on GitHub