Web Development
cpro0403.txt
Associated article: Underdocumented C++
Tags: Web Development C/C++
Published source code accompanying the by
C Programming Column
by Al Stevens
Listing One
namespace personnel {
class employee { };
void paycheck(employee* emp)
{
// ...
}
}
int main()
{
personnel::employee empl;
paycheck(&empl);
// ...
return 0;
}
Listing Two
int main()
{
paycheck(0);
// ...
return 0;
}
Listing Three
namespace personnel {
class employee {
// ...
};
std::ostream& ...


