Many Ways to Kill an Orc (or a Hero)Many ways to kill an Orc (or a Hero) Patrice Roy, Patrice.Roy@USherbrooke.ca, Patrice.Roy@clg.qc.caFrom the abstract… • « Our game programmers and game engines involve fights between heroes and their «classical», traditional ways to express heroes and monsters fighting each other, but C++ is a particularly expressive and versatile language, and with C++20 and C++23 there are many ways for heroes and monsters «classical», traditional ways to express heroes and monsters fighting each other, but C++ is a particularly expressive and versatile language, and with C++20 and C++23 there are many ways for heroes and monsters0 码力 | 202 页 | 1.26 MB | 6 月前3
Six Ways for Implementing Math Expressions CalculatorAbout me 2 6 ways for implementing math expressions calculator, Amir Kirsh Lecturer Academic College of Tel-Aviv-Yaffo and Tel-Aviv University Developer Advocate at Member of the Israeli ISO C++ NB NB Co-Organizer of the CoreCpp conference and meetup group3 6 ways for implementing math expressions calculator, Amir Kirsh Suffering from slow builds? It’s not just waste of time It affects your dev (partial list) 4 6 ways for implementing math expressions calculator, Amir KirshSuccess Stories 5 6 ways for implementing math expressions calculator, Amir KirshSuccess Stories 6 6 ways for implementing0 码力 | 63 页 | 1.85 MB | 6 月前3
Back To Basics Functionsbeen programming C++ for many years -- please provide suggestions, analogies, and other useful ways to think about functions now or in the future!Please do not redistribute slides without prior permission can have functions at local scope (e.g. lambda's) and how they can be used (and oftentimes in handy ways in the STL). Ah, intrigued are you? We're not quite done! Now with building blocks such as lambda's 1 value (The type is ‘void’ if we return no values). Notes on return values: ● There are a few ways to get more than 1 value returned from a function: ○ We could return an aggregate type (e.g. struct)0 码力 | 123 页 | 7.26 MB | 6 月前3
Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Codedifferent ways to architect code that uses ROS 2 – creating code that is easy to understand, test, maintain, and extendWhy give this talk? ● Engineers at PickNik experiment with different ways to architect is handed over to the clientWhy give this talk? ● Engineers at PickNik experiment with different ways to architect code that uses ROS 2 – creating code that is easy to understand, test, maintain, and start developing on top of it?Why give this talk? ● Engineers at PickNik experiment with different ways to architect code that uses ROS 2 – creating code that is easy to understand, test, maintain, and0 码力 | 200 页 | 1.77 MB | 6 月前3
Taming the C++ Filter View, 3)); // print first three elements print(std::views::take(coll2, 3)); // print first three elements print(coll1 | std::views::take(3)); // print first three elements print(coll2 | std::views::take(3)); std::views::take(3)); // print first three elements print(coll2 | std::views::take(3) | std::views::transform([](auto v){ return std::to_string(v) + 's'; })); Output: 0 8 15 47 11 42 1 0 1 8 11 15 Sometimes: reverse vec: beg: begin() begin(), * ++, * ++, * ++, * ©2024 by josuttis.com 46 C++ Ways of Caching begin() std::vectorvec{0, 8, 1, 47, 11, 42}; auto v1 = vec | std::views::filter(gt9); 0 码力 | 43 页 | 2.77 MB | 6 月前3
Conan 1.5 Documentationbuild system agnostic 9 conan Documentation, Release 1.5.2 10 Chapter 2. Introduction CHAPTER THREE INSTALL Conan can be installed in many Operating Systems. It has been extensively used and tested are also several additional operating systems on which it has been reported to work. There are three ways to install Conan: 1. The preferred and strongly recommended way to install Conan is from PyPI be downloaded from AUR: https://aur.archlinux.org/packages/conan/. Make sure to first install the three Conan dependencies which are also found in AUR: • python-patch • python-node-semver • python-pluginbase0 码力 | 422 页 | 2.85 MB | 1 年前3
Conan 1.3 Documentationbuild system agnostic 9 conan Documentation, Release 1.3.3 10 Chapter 2. Introduction CHAPTER THREE INSTALL Conan can be installed in many Operating Systems. It has been extensively used and tested are also several additional operating systems on which it has been reported to work. There are three ways to install conan: 1. The preferred and strongly recommended way to install Conan is from PyPI package ABI compatibility Each package recipe can generate N binary packages from it, depending on three things: settings, options and requires. When any of the settings of a package recipe changes, it0 码力 | 397 页 | 2.77 MB | 1 年前3
Conan 1.8 Documentationare also several additional operating systems on which it has been reported to work. There are three ways to install Conan: 1. The preferred and strongly recommended way to install Conan is from PyPI be downloaded from AUR: https://aur.archlinux.org/packages/conan/. Make sure to first install the three Conan dependencies which are also found in AUR: • python-patch • python-node-semver • python-pluginbase feedback in the Conan issue tracker or write us to info@conan.io. 10 Chapter 2. Install CHAPTER THREE GETTING STARTED Let’s get started with an example: We are going to create a an MD5 encrypter app0 码力 | 458 页 | 3.03 MB | 1 年前3
Conan 1.9 Documentationare also several additional operating systems on which it has been reported to work. There are three ways to install Conan: 1. The preferred and strongly recommended way to install Conan is from PyPI be downloaded from AUR: https://aur.archlinux.org/packages/conan/. Make sure to first install the three Conan dependencies which are also found in AUR: • python-patch • python-node-semver • python-pluginbase feedback in the Conan issue tracker or write us to info@conan.io. 10 Chapter 2. Install CHAPTER THREE GETTING STARTED Let’s get started with an example: We are going to create a an MD5 encrypter app0 码力 | 470 页 | 3.05 MB | 1 年前3
Conan 1.16 Documentationare also several additional operating systems on which it has been reported to work. There are three ways to install Conan: 1. The preferred and strongly recommended way to install Conan is from PyPI be downloaded from AUR: https://aur.archlinux.org/packages/conan/. Make sure to first install the three Conan dependencies which are also found in AUR: • python-patch • python-node-semver • python-pluginbase feedback in the Conan issue tracker or write us to info@conan.io. 10 Chapter 2. Install CHAPTER THREE GETTING STARTED Let’s get started with an example: We are going to create a an MD5 encrypter app0 码力 | 545 页 | 4.34 MB | 1 年前3
共 192 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20













