Welcome, Aaron!

I’m glad to see Aaron Stebner started blogging about setup (installer). Before Aaron switched team, he was a QA lead in the VS / .NET setup team, which I’m working for.  He was a great resource then.  Looks like his posts will be a new valuable source of information for my work.  I expect them…

0

How Would You Get the Count of an Array in C++?

The question is simple: given a C++ array (e.g. x as in int x[10]), how would you get the number of elements in it?   An obvious solution is the following macro (definition 1):   #define countof( array ) ( sizeof( array )/sizeof( array[0] ) )   I cannot say this isn’t correct, because it…

4