Defensive C++ Arduino Programming: A practical C++ primer for Arduino programming

Автор: literator от 17-12-2023, 21:19, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Название: Defensive C++ Arduino Programming: A practical C++ primer for Arduino programming to become an effective C++ programmer
Автор: Michèle Delsol
Издательство: Independently published
Год: 2023
Страниц: 696
Язык: английский
Формат: pdf, epub, mobi
Размер: 10.2 MB

If you are you are constantly frustrated due to fighting against the tools you are working with, or feel that you are reinventing the wheel, this book is for you.

If you find that you are dedicating too much time on C++ programming and experience it as a hard, grueling task, you may want to consider a practical C++ programming approach as presented in this Arduino programming book. Arduino C++ is based on the C++ programming language. C++ is a powerful professional grade programming language developed for mission critical applications. Under its deceptive simplicity lie powerful mechanisms, a trap for the newbie C++ programmer. C++ for dummies is a misnomer as it takes work and smarts to achieve effective C++ programming. There are good reasons for using Arduino and C programming enhanced by C++ programming. Arduino is the most ubiquitous microcontroller available and efficient C++ enables writing the smallest and fastest possible code for it.

Why Arduino and C++ are an excellent choice for embedded software development.
Good programming practices help to get it right the first time around.
Which IDE should you work with? Arduino, AtmelStudio (MicrochipStudio), Visual Studio plus Visual Micro, Microsoft VS Code, PlatformIO, Code::Blocks, MPlab?
Visual Studio plus Visual Micro is, IMHO, the best tool to develop Arduino applications with. This book will guide you on using this tandem and details the process of importing Arduino sketches. The learning curve is short.
Print and hardware-based debugging are covered extensively. These are good reasons for you to develop with Visual Studio plus Visual Micro and use AtmelStudio to hardware debug with ATmega XMini boards.
The new Arduino IDE version 2 is presented. Is it ready to replace version 1.8.19?
Understand what lies under the IDEs' hoods. Behind the scenes, the IDEs drive the GNU toolchain (preprocessor, compiler, linker, make) - avrdude to upload code into your microcontroller.
Seventeen C++ frameworks save you from inadvertently reinventing the wheel. Full source code available from the books' Web site.
C++'s exception handling not being supported by the Arduino environment, use the Pseudo Exception Handling Framework, setjmp/longjmp based.
Awk, Perl, and regular expressions enable you to undertake tasks otherwise not feasible. A Perl program detects virtually undetectable silly mistakes.
Manage memory to determine its status (contiguous and fragmented memory). Anticipate memory requirements and discover memory hogs and memory leaks.
The companion book, Pragmatic C++ Arduino Programming, explains C++ fundamental mechanisms, the preprocessor, the PROGMEM framework, the many gotchas C++ can throw at you, how to manage memory, and a lot more.
Download free open-source licensed frameworks source code and Awk, Perl, and regular expression tidbits from the books' Web site.

Being defensive as you write code means being aware that your path is paved with danger. Discover how nasty C++ gotchas can get and how using professional grade tools can save you time and take the hassle out of developing with C/C++.

Скачать Defensive C++ Arduino Programming: A practical C++ primer for Arduino programming to become an effective C++ programmer








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.