文章
首页 我的博文
用户3635970 2011-3-15 12:50
Freestanding vs. hosted implementations
In 2009, Michael Barr wrote an article entitled "Real men program in C." 1 The article prompted numerous comments from readers, including a nu ...
用户3635970 2011-3-15 12:12
Freestanding vs. hosted implementations
In 2009, Michael Barr wrote an article entitled "Real men program in C." 1 The article prompted numerous comments from readers, including a nu ...
用户3635970 2011-3-14 17:04
Allocating and deallocating arrays, in detail
I've written a couple of articles on dynamic allocation in C and C++ emphasizing the distinction between allocating objects and allocating raw ( ...
用户3635970 2011-3-14 17:00
Allocating and deallocating arrays, in detail
I've written a couple of articles on dynamic allocation in C and C++ emphasizing the distinction between allocating objects and allocating raw (un ...
用户3635970 2011-3-13 18:28
Poor reasons for rejecting C++
My colleague, Michael Barr, wrote an interesting piece entitled "Real men program in C." 1 I won't try to summarize it—you can read it yourself. Th ...
用户3635970 2011-3-13 18:28
Poor reasons for rejecting C++
My colleague, Michael Barr, wrote an interesting piece entitled "Real men program in C." 1 I won't try to summarize it—you can read it yourself. Th ...
用户3635970 2011-3-11 15:38
Access specifiers and class member allocation order
For the most part, C code that defines and uses structures behaves the same when compiled and executed as C++. However, C++ generalizes structures in ...
用户3635970 2011-3-11 15:37
Classes are structures, and then some
For the most part, C code that defines and uses structures behaves the same when compiled and executed as C++. However, C++ generalizes structures in ...
用户3635970 2011-3-11 14:23
Access specifiers and class member allocation order
I once discussed Standard C's rules governing the alignment, padding and ordering of structure members. For the most part, C code that defines and us ...
用户3635970 2011-3-10 19:21
Classes are structures, and then some
I once discussed Standard C's rules governing the alignment, padding and ordering of structure members. For the most part, C code that defines and us ...
用户3635970 2011-3-10 11:15
Deallocating objects vs. deallocating storage (Part 2)
    A delete-expression applied to a null pointer does nothing. If the pointer is non-null, the delete-expression applies the destructor ...
用户3635970 2011-3-10 11:10
Deallocating objects vs. deallocating storage (Part 1)
Here's how delete-expressions interact with destructors and deallocation functions in C++. I wrote a couple of articles on the distinction between ...
用户3635970 2011-3-10 10:58
Deallocating objects vs. deallocating storage (Part 2)
  A delete-expression applied to a null pointer does nothing. If the pointer is non-null, the delete-expression applies the destru ...
用户3635970 2011-3-10 10:56
Deallocating objects vs. deallocating storage (Part 1)
Here's how delete-expressions interact with destructors and deallocation functions in C++. I wrote a couple of articles on the distinction between ...
用户3635970 2011-3-10 10:36
Destroying everything in every path
Although I know both C and C++ quite well, I much prefer programming in C++. Features such as classes and access control help me partition my program ...
关闭 站长推荐上一条 /2 下一条