Re: C vs C++ in Embedded Systems?
From: Dave Hansen (iddw_at_hotmail.com)
Date: Mon, 31 Jan 2005 17:52:15 GMT
On Sat, 29 Jan 2005 18:12:10 GMT, Ed Beroset <email@example.com>
>int numerator = 35323;
>int denominator = 1038;
>int answer = numerator / denominator;
>On an 8-bit micro with no native divide instruction, this can generate
>quite a bit of code even though there was no obvious library call.
As well as the wrong answer. Or at least, not the answer that was
-- Change is inevitable, progress is not.