Programming

Total 2 Posts
This tag aggregates various programming tutorials that fit into no specific category.
C++

Enumerations with Strings

Since getting the strings of enum variables is a bit tedious when done using a *switch*, the boost preprocessor can be used to create enums with an *automatic* *toString* function.
C++

Lambda Functions

Lambda functions were introduced by the C++ - 11 standard, allowing to write anonymous functions that can be used instead of complete structs or classes, avoiding the need to create complete class and function definitions. As an example, consider a function to compute the square of a number. In C+
You've successfully subscribed to bell0bytes
Great! Next, complete checkout for full access to bell0bytes
Welcome back! You've successfully signed in.
Unable to sign you in. Please try again.
Success! Your account is fully activated, you now have access to all content.
Error! Stripe checkout failed.
Success! Your billing info is updated.
Error! Billing info update failed.