C++

C++ Builder Header Dependencies

Why should you care about header dependencies in C++? One reason is header dependencies can have an impact on building, refactoring, testing and on the structure of your software. And reducing header dependencies in C++ also reduces compile time dependencies – the dependencies between files and libraries at compile time. One way to reduce header dependencies in C++ is to avoid including…
Read more
C++

Adding headers to TListView programmatically

During today’s Delphi, C++Builder and RAD Studio 10 Seattle launch webinar, I got a question on how to add headers to TListView programmatically instead of using LiveBindings with a data source. Here is a quick code snippet showing how to programmatically add TListView…