Greg London writes:
I would like a book that introduces c and c++ from the point of view of
showing
the best practices first and comp-sci theory gets put in the second
edition so I
don't have to buy it.
I would highly recommend 'The Design and Evolution of C++' by Stroustrup.
It's an older
_However_, using C++ is the worst way to write typical business
application programs -- at least at this point in time.
There are now two good reasons to use C++; one is to write
highly optimized code which uses pointer manipulations, ...
the other is to write for a platform which _only_
On Mon, Apr 15, 2013 at 11:09 AM, Greg London em...@greglondon.com wrote:
[...]
So, I've been doing verilog testbenches for years,
system verilog test benches for years, and they all
have their limtations as not being what I would call
a real language. So, I'm trying to write a testbench
in
I get a test file with a lot of code that looks like this:
printf(
%s %d: Some useful description and maybe a number %d\n,
(expected_value == test_value) ? ok : not ok, ++tests,
some_useful_debugging_info
);
I find it manageable, but I'm wondering about the next guy.
I've
Ben Tilly bti...@gmail.com writes:
...
I'm writing some C++ at the moment that fits into the first group
(performance-critical code). For unit testing I've been emitting TAP
protocol and testing it with prove, but are there better approaches?
I get a test file with a lot of code that looks
I would highly recommend 'The Design and Evolution of C++' by Stroustrup.
It's an older book now, but still was written with a great deal of
perspective on the use of C++ and does a good job of explaining why many
things are the way they are -- which of those things are for the best and
which