C or C++?
Bob Bell
bbell at macroped.com
Sat May 28 12:13:01 EDT 2005
On Fri, May 27, 2005 at 05:19:18PM -0400, Jerry Feldman wrote:
> In the case of C++, you have a class that overloads + as a concatenation
> operator. Additionally, the resultant variable c is expandable. In C, one
> must make sure that a sufficient sized array is allocated for the result.
Said another way: C++ has extra features to do stuff for you,
"automagically". C makes you specify exactly what you want to happen.
What you choose may depend on which of those descriptions matches what
you want for a particularly project. For instance, there's a reason
most OS kernels are written in C.
-- Bob
More information about the gnhlug-discuss
mailing list