- 博客(16)
- 资源 (4)
- 收藏
- 关注
原创 Development tools for C++ on Linux development environment
We know many development tools for c++ on windows ,such as MS/VC,Borland C++ etc.However We arent familiar withdevelopment tools on linux! Some tools are introduced below:1:command tools editors:vi
2010-01-17 13:47:00 762
转载 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 369
原创 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 428
原创 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 294
原创 Permission problem on a derived private method from public method
problem:Is there a good explanation why compilation tags error for the call to AA.method(). It is public in the base class. If cast to baseclass, then compiler says its ok.class A { public: A()
2010-01-17 13:34:00 319
原创 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 420
转载 a shortcut for linux( from linux journal )
if you come from the world of Windows, you undoubtedly understand the concept of a shortcut. In the Linux world, shortcuts do exist, but theyre generally referred to as symbolic links, or symlinks. T
2010-01-17 13:22:00 404
原创 the tips of Yum
(1) when installing or updating the software by Yum, you maybe come across the unexpected exit from the Yum tools and then report some errors which indicate some incorrect Yum sources! It maybe resu
2010-01-17 13:21:00 280
原创 Thinking recursively
Thinking recursivelyFirst,Lets know the principle:Recursive leap of faith-When you try to understand a recursive program,you must be able to put the underlying details aside and focus instead on a
2010-01-17 13:18:00 430
原创 Teach Yourself Programming in Ten Years
The article is worth reading,please refer tohttp://www.norvig.com/21-days.html
2010-01-17 13:16:00 386
原创 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 297
转载 One size does not fit all
People who spout off one-size-fits-all rules presume to make your design decisions without knowing your requirements. They dont know where youre going but know how you should get there. Dont trust
2010-01-17 13:04:00 512
翻译 How do you define a copy constructor or assignment operator for a class that contains a pointer to a (abstract) base class?
If the class "owns" the object pointed to by the (abstract) base class pointer, use the Virtual Constructor Idiom in the (abstract) base class. As usual with this idiom, we declare a pure virtual cl
2010-01-17 12:59:00 311
翻译 Understand decorator design pattern
The Decorator Pattern is used for adding additional functionality to a particular object as opposed to a class of objects. It is easy to add functionality to an entire class of objects by subclassin
2010-01-17 12:54:00 293
原创 Title: How to limit instantialization?
For a template class: template struct X { static void f(){...} }; Is there any way to prevent this class from being instantialized for different T? e.g: X::f(); X::f() //ok //////////////////
2010-01-17 12:48:00 382
深入了解MFC中的文挡视结构.pdf
2009-01-17
基于ARM的嵌入式开发.pdf
2009-01-16
linux device drivers
2007-06-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人