Subscribe to:
Post Comments (Atom)
About
Follow Us
Popular Posts
-
pointer cause decay, references do not. Decay means loss of type information. In C and C++, an array name 'decays' to pointer to t...
-
In C++, default arguments of global scope functions can be changed easily. Typically we use a constant expression as a default argument. C...
-
This is a small part of the discussion going on writing exception safe code in C++ especially for large C++ programs such as ACE/TAO library...
-
Reading entire file in one go. Solution 1: std::ifstream in("circle.cc"); std::istreambuf_iterator < char > begin(in), e...
-
A "thunk" appears to be an overloaded term in computer science. Use of the word "thunk" goes back to Algol 60 implementa...
-
An interesting consequence of decay related rules of pointers and references is that seemingly correct C++ code fails to compile. We hav...
-
I love C++ programming language for its power and complexity!! To me, its enormity and complexity has been an incessant source of different ...
-
It is a C++ idiom in which inheritance and template type parameters are cleverly integrated to generate flexible types at compile-time. In C...
-
I thought it would be interesting to discuss a subtle C/C++ interview question I learned recently. Question is deceptively simple: "Can...
-
Some syntax clarification: This is a short syntax tutorial for upcoming posts. int *p; // a pointer to an integer int &p; // a refer...
