Stack Exchange
log in
chat
meta
about
Stack Exchange
All Sites
Hot Questions
Top Users
Newsletters
Blogs
Eric Z
top
accounts
reputation
activity
favorites
subscriptions
Top Questions
29
votes
How can a variable be used when its definition is bypassed?
c++
variable-scope
variable-declaration
asked Dec 16 '11 at 14:41
stackoverflow.com
26
votes
Should I worry about the alignment during pointer casting?
c++
c
casting
alignment
asked Dec 14 '12 at 15:21
stackoverflow.com
14
votes
Why does a C/C++ compiler need know the size of an array at compile time?
c++
c
asked Dec 3 '10 at 1:01
stackoverflow.com
14
votes
Is memory reordering visible to other threads on a uniprocessor?
c++
multithreading
memory-barriers
asked Jan 6 at 12:26
stackoverflow.com
11
votes
How does a compiler know the alignment of a physical address?
c++
compiler
alignment
asked Dec 19 '12 at 13:49
stackoverflow.com
10
votes
When should I prefer non-member non-friend functions to member functions?
c++
design
encapsulation
asked Oct 19 '11 at 12:29
stackoverflow.com
9
votes
Why is zero-length array allowed only if it's heap allocated?
c++
arrays
asked Jul 28 '11 at 15:42
stackoverflow.com
8
votes
Shouldn't declaration match its definition when array is involved?
c++
arrays
asked Jul 31 '11 at 4:22
stackoverflow.com
6
votes
What is the strategy if assertion fails
c++
assertion
asked Oct 29 '10 at 5:55
stackoverflow.com
6
votes
When and why should destructor in base class NOT be defined as virtual?
c++
virtual
destructor
asked Aug 10 '11 at 1:56
stackoverflow.com
1
2
next
Top Answers
30
How to remove characters from a string
stackoverflow.com
15
What's the use of the private copy constructor in c++
stackoverflow.com
11
“not declared in this scope” error with templates and inheritance
stackoverflow.com
10
c++ using namespace::function
stackoverflow.com
8
Colorize stdout output to Windows cmd.exe from console C++ app
stackoverflow.com
7
Visual Studio plugin for collapsing C++ codes
stackoverflow.com
6
C++ copying a string array[] to a vector <string>
stackoverflow.com
6
Remove bytes in the middle of a file without moving the end?
stackoverflow.com
5
why doesn't make work on a c++ compile with a reference address pointer?
stackoverflow.com
5
Constant size priority queue - Insert first or delete first?
stackoverflow.com
5
Doesn't putting a “virtual destructor inside an interface” make it, by definition, not an interface anymore?
stackoverflow.com
5
C++ usage extern in front of function
stackoverflow.com
5
Why can't char** be the return type of the following function in C++?
stackoverflow.com
5
Using a static pointer to a class memory mangement?
stackoverflow.com
5
how to initialize a char pointer in a class?
stackoverflow.com
Stack Exchange works best with JavaScript enabled