Loading

Slzii.com karohy

https://mariusbancila.ro

Marius Bancila's Blog
No pointers to 0xBAADF00D
Marius Bancila's Blog Search for: Search Skip to content Marius Bancila's Blog About code. Mostly on C++ Menu Home About me Works Privacy Policy What’s new in C++26 (part 1) Posted on September 6, 2024September 6, 2024 by Marius Bancila The C++26 version of the C++ standard is a work in progress, but a series of language and library features have been already added. Furthermore, some of them are already supported by Clang and GCC. One of these new changes was discussed in my previous article, Erroneous behaviour has entered the chat. In this post,… CategoriesC++ Erroneous behaviour has entered the chat Posted on April 21, 2024April 21, 2024 by Marius Bancila The C++ language defines the observable behaviour of a program and uses terms such as ill-formed or undefined behaviour to describe it. The C++26 standard introduces a new one, called erroneous behaviour. In this post, we’ll look at what these terms mean. Well-formed This is the simplest of them all. It means that a program… CategoriesC++ Modern C++ Programming Cookbook – Third Edition Posted on March 4, 2024March 4, 2024 by Marius Bancila The Third Edition of my book, Modern C++ Programming Cookbook (ISBN 978-1835080542) has been published by Packt. The book can be ordered from Amazon and Packt. The book is organized in recipes, much like a cookbook. These recipes, in turn, are organized in sections that introduce you to the topic, list any necessary pre-requisites and… CategoriesBooks, C++ Formatting Text in C++: The Old and The New Ways Posted on September 12, 2023September 12, 2023 by Marius Bancila When it comes to format a piece of text in C++ there are several ways you can employ: I/O streams, particularly std::stringstream with stream operations (such as operator <<) printf family of functions, particularly sprintf the C++20 format library, particularly std::format / std::format_to any 3rd party library, {fmt} in particular (the source of the new… CategoriesC++ How to convert an enum to string in C++ Posted on August 17, 2023August 17, 2023 by Marius Bancila Enumerations are widely used and we often need to convert enum values to strings (typically for recording values in logs) but there is no option at the language level or a utility in the standard library to make it possible. Therefore, developers are usually handcrafting their own solutions. Let’s say we have the following enum:… CategoriesC++ The curious case of error C2065: ‘IID_InterfaceName’: undeclared identifier Posted on August 14, 2023August 14, 2023 by Marius Bancila Recently, I stumbled across a peculiar error that I found nothing about on the web. Although I got rid of it, I didn’t figure out what the problem was. This post is merely the story of what happened. I am working on a project that contains both C++ and C# projects. The C++ ones used… CategoriesC++, MFC, Visual Studio Notes on std::optional’s monadic operations Posted on May 29, 2023May 29, 2023 by Marius Bancila The C++23 standard includes several new functions to the std::optional class: and_then, transform, or_else. These are monadic operations and are intended to simplify the chaining of several operations that may or may not produce a value. In this post, I want to briefly present these functions and to make some observations on them. A starting… CategoriesC++ Using Microsoft Edge in a native Windows desktop app – part 6 Posted on April 5, 2023April 5, 2023 by Marius Bancila The WebView2 control supports different printing scenarios. In this new article, I’ll show you how to display a print dialog and, respectively, how to print to PDF. CategoriesC++, Edge, MFC, Windows Programming Using Microsoft Edge in a native Windows desktop app – part 5 Posted on March 21, 2023April 5, 2023 by Marius Bancila This article is a new installment in the series about using the Webview2 control in a native application. In this post, I will show how to execute a JavaScript script. Articles in this series: Part 1: Introduction to Edge and WebView2 Part 2: Creating a WebView2 component Part 3: Navigation and other events Part 4:… CategoriesC++, MFC How to make chunks of a range in C++23 Posted on January 16, 2023January 16, 2023 by Marius Bancila Last year, I wrote a blog post about new C++23 range adaptors for joining and zipping. The C++23 standard includes a longer lists of range adapters (you can find a list here). Among them, there are several adaptors used for creating views consisting of chunks or “windows” of the elements of a given range. In… CategoriesC++ Older posts → About me Find me on: Archives September 2024 M T W T F S S  1 2345678 9101112131415 16171819202122 23242526272829 30   « Apr     Follow me on TwitterMy Tweets Recent Posts What’s new in C++26 (part 1) Erroneous behaviour has entered the chat Modern C++ Programming Cookbook – Third Edition Formatting Text in C++: The Old and The New Ways How to convert an enum to string in C++ The curious case of error C2065: ‘IID_InterfaceName’: undeclared identifier Notes on std::optional’s monadic operations Using Microsoft Edge in a native Windows desktop app – part 6 Using Microsoft Edge in a native Windows desktop app – part 5 How to make chunks of a range in C++23 Statistics Meta Log in Entries feed Comments feed WordPress.org Proudly powered by WordPress Simplent Theme by Rafay
en
us
en-US
1727029841
https://mariusbancila.ro

Ahitsio ny tranokalanao?

Manao inona ianao?

0.0070810317993164


Webdirectory
Webdirectory

Webdirectory
No pointers to 0xBAADF00D
Webdirectory