Jozo LekoC++ Programming #pragma Directive in C/C++ - GeeksforGeeks geeksforgeeks.org #pragma startup and #pragma exit: These directives helps us to specify the functions that are needed to run before program startup( before the …
Jozo LekoIcon version of the Flipboard logo The Surprising Limitations of C++ Ranges Beyond Trivial Cases fluentcpp.com - Jonathan Boccara Today we have a guest post from Alex Astashyn. Alex is a tech lead for the RefSeq resource at the National Center for Biotechnology Information. …
Jozo LekoIcon version of the Flipboard logoC++ Programming Strong Types on Collections fluentcpp.com - Jonathan Boccara Do we need a special strong type library for collections? Or can we strongly type collections like we do for any object?If you’re joining us right …
Jozo LekoIcon version of the Flipboard logoC++ Programming Expressiveness, Nullable Types, and Composition (Part 2) fluentcpp.com This is Part 2 of guest author Rafael Varago‘s series on composing nullable types. In this episode, Rafael presents us absent, a generic library to …
Jozo Leko Hash Tables in C++ with the djb2 Algorithm Medium - Tu Vo In computer science, a hash table is a data structure that implements an array of linked lists to store data. Using a hash algorithm, the hash table …
Jozo LekoC++ Programming How to Generate a Collection of Random Numbers in Modern C++ fluentcpp.com - Jonathan Boccara Filling out a collection with random numbers is C++ is an easy thing to conceive, but it isn’t that easy to guess how to implement.In this article …
Jozo LekoIcon version of the Flipboard logoC++ Programming How to Check If a String Is a Prefix of Another One in C++ fluentcpp.com - Jonathan Boccara The simple operation of checking if a string is a prefix of another one is not standard in C++. We will implement it step by step, and at the end of …
Jozo LekoC++ Programming 30 Seconds of C++ dev.to - Bhupesh Varshney 👾 So if you are looking forward to learn C++ in 2019, I present to you the 30 Seconds of C++. A collection of STL (Standard Template Library) features of …
Jozo LekoIcon version of the Flipboard logo How to Write Safer and More Expressive Multi-Threaded C++ Code fluentcpp.com - Jonathan Boccara Today’s post is written by Louis-Charles Caron. Louis-Charles is a software engineer at Advanced Silicon, working on image processing for low latency …
Jozo Leko Basics of multithreading in C dev.to - Nathanael Demacon C is a language that runs on one thread by default, which means that the code will only run one instruction at a time. In some cases you'll need to …
Jozo LekoIcon version of the Flipboard logo TODO_BEFORE(): A Clean Codebase for 2019 fluentcpp.com - Jonathan Boccara Today’s special guest post is written by Aurelien Regat-Barrel. Aurelien is a senior developer with 15 years of experience in C++, mostly spent …
Jozo LekoObject-Oriented Programming Association, aggregation, and composition in OOP explained infoworld.com - Joydip Kanjilal The Unified Modeling Language (UML) is a de-facto standard for modeling object-oriented systems. In UML there are five different types of …
Jozo Leko Introducing our C++ Tech Blog splashdamage.com One of our studio values is mastery and our programmers like to pen an internal tech newsletter which covers coding practices and more advanced C++ …
Jozo Leko Learn C++ Multi-Threading in 5 Minutes hackernoon.com - Ari Saif Summary: A crash course on the C++14 multi-threading constructs in a very non-verbose manner The new C++ multi-threading constructs are very easy to …
Jozo Leko How To Use std::visit With Multiple Variants bfilipek.com - Bartlomiej Filipek std::visit is a powerful utility that allows you to call a function over a currently active type in std::variant. It does some magic to select the …
Jozo Leko difference between python and C++ ittechlanguage.blogspot.com - Mohammad Rashid Javed Operator overloading is a type of a compile time polymorphism in C++. In C++ an operator is a symbol that tells the compiler to perform specific …
Jozo LekoIcon version of the Flipboard logo “Modern C++” != “New(est) Standard” arne-mertz.de - Arne Mertz The term “Modern C++” is often used interchangeably with “Code using the new C++ standard”. Here, “new” may be anything from C++11 to C++17 or even …
Jozo Leko C++ For Go Programmers: Part 1 - Struct Embedding, Object Receivers, and Interfaces in C++ dev.to - dayvonjersen DISCLAIMER: This series title is inspired by a terrific article on the Go Wiki but, unlike that article, none of the information presented in this …
Jozo LekoIcon version of the Flipboard logo Case study: Making std::any trivially relocatable quuxplusone.github.io - Arthur O’Dwyer Many library types are not trivially relocatable even though one’s initial impression is “sure, why wouldn’t they be?” For example, std::list. …
Jozo Leko C++ Core Guidelines: The noexcept Specifier and Operator modernescpp.com If you skim through the remaining rules to error handling, you often read the word noexcept. Before I write about the rules to error handling, I …
Jozo Leko C Program To Implement Selection Sorting cprogrammingsimply.in - Admin Algorithm scans through the data, looking for either the smallest or the largest element(depending upon you) in the set and then swaps it with the …
Jozo LekoIcon version of the Flipboard logo How to Convert a String to an int in C++ fluentcpp.com - Jonathan Boccara Today’s guest post is written by guest author jft. In this article, he presents us a thorough comparison between the various ways C++ offers to …
Jozo Leko Performance of std::string_view vs std::string from C++17 bfilipek.com - Bartlomiej Filipek Have a look at a few examples where I compare std::string_view against std::string. I was looking for some examples of string_view, and after a while, …
Jozo LekoIcon version of the Flipboard logo Efficiently Generating a Number in a Range pcg-random.org - M.E. O'Neill The vast majority of my posts about random number generation have focused on looking at the properties of different generation schemes. But, perhaps …
Jozo Leko Menu Class - Example of Modern C++17 STL features bfilipek.com - Bartlomiej Filipek Writing articles about modern C++ features is a lot of fun, but what’s even better is to see how you use those new things in real world. Today I’m …
Jozo Leko A Wall of Your std::optional Examples bfilipek.com - Bartlomiej Filipek Two weeks ago I asked you for help: I wanted to build a wall of examples of std::optional. I’m very grateful that a lot of you responded and I could …
Jozo LekoIcon version of the Flipboard logo Modern C++ Features – std::optional arne-mertz.de - Arne Mertz Sometimes we want to express the state of “nothing meaningful” instead of a value. This is the use case for C++17’s std::optional. In programming, we …