c++ 精彩问题及其解决方法汇总
文章平均质量分 89
uglystone
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
separate-array-of-pointers technique
what is separate-array-of-pointers technique? when and where can it be used?here I will explain it.separate-array-of-pointers is a array of pointers each of which points at one element of another arra原创 2010-01-17 13:10:00 · 342 阅读 · 0 评论 -
How to express string semantic (2)?
(2)string and related classes in c++ STL string class is a portable class.it can be used in many platforms,such as windows,linux,unix,etc!it encapsulates string semantic and provides many useful m原创 2010-01-17 13:38:00 · 473 阅读 · 0 评论 -
Using std::basic_string the extensible way
Problem:Using std::basic_string the extensible way Im writing a class that contains a string. But I decided to make it more extensible and turn it into a class template: template class My { std:原创 2010-01-17 13:29:00 · 462 阅读 · 0 评论 -
How to express string semantic (1)?
String processing is very important in programming! How to express string semantic ? There are many methods with doing it! Some are listed below!(1) char array and pointer.This is always used in原创 2010-01-17 13:36:00 · 329 阅读 · 0 评论 -
how to avoid instantiation of template operator?
problem:I need to prevent given operator from being generated if underlying operation cant be compiled. Basically, this operator==: templateclass T> class accessor { typedef accessorT> Self; p转载 2010-01-17 13:40:00 · 427 阅读 · 0 评论
分享