Nebula Graph Source Code Explained via a Sample Graph Query

In this article, take a look at the Nebula Graph source code and see a sample graph query. When I saw the Nebula Graph code repository for the first time, I was so shocked by its huge size that I didn’t know how to dig into the source code.

Memory Allocation in C++

Static Memory Allocation and Dynamic Memory Allocation in C++. Deallocations means the space has been reclaimed by computer and the variable cannot be accessed now. This article explains how this memory is allocated to variables in C++ programming language.

C++ enums illustrated

Don’t use C++ enums as in C any more. C++ enum is a user-defined type that allows us to give textual names for integer values. Using enums you can increase code readability and reduce the probability of faults due to usage of hardcoded values. I will talk here about C++ different enumerations types and usages. Note that at least C++ 11 is required.

How to Write C++ Comments

This tutorial teaches you how to write C++ comments the right way, including code, examples, and detailed step-by-step instructions. In this tutorial, you’ll learn how you write comments in C++. You’ll learn both the technical aspects of including comments in your code as well as professional guidelines on what types of comments you should include (and avoid).

How Create and Play a Simple Robot Program via Webots Robot Simulator

Do you want to learn robot, but you don’t have money to buy the robot? Or you don't know where to start? Webots simulator is the solution! You can learn with any kind of robots and environments easily. Also you can create your custom robots and environment. The most interesting is Webots is free and open source.

Sign Up for the Private Preview of Visual Studio support for Codespaces

At the Microsoft Build conference, you may have seen our C++ Codespaces demo (at 26:00). We showed several ways Codespaces can improve your C++ development experience, including offloading your builds and other compute-heavy tasks to the cloud. We’ve already been chatting with many you, and now we are ready to allow more people into the Private Preview.

Unordered Set in C++ STL - JournalDev

One such data container is the "Unordered Set in C++". Similar to unordered maps, the unordered set is part of the standard template library in C++. The C++ Standard Template Library supports several data structures that play an important role in any programmer’s life. One such data container is the “Unordered Set in C++“. Unlike the STL Sets, these types of sets are unordered in their way of storing elements.

Understanding the unordered map in C++

In this article, we’ll take a look at using the unordered map data structure in C++. This is a part of the C++ Standard Template Library (STL), and is a very useful data structure. Let’s look at this in more detail, using some illustrative examples.

Vigenere Cipher and its implementation in C++

The Vigenere Cipher follows its name from a French cryptographer Blaise de Vigenere. This cipher is a substitution cipher that supports encryption and decryption of only alphabetic text. There is a Vigenere’s Table which is responsible for encrypting the plaintext with the help of a key.

Applying Curiously Recurring Template Pattern in C++

There is various material effectively accessible for "How" and "What" on CRTP. So, I will address the "Where" part that CRTP Applicability. Curiously Recurring Template Pattern(CRTP) in C++ is definitely a powerful technique and a static alternative to virtual functions. But at the same time, learning it may seem a bit weird at first. If you are like me who struggled to grasp anything in one go.

What is Programming C++?

What is C++? C++ is an enhanced C language typically used for object oriented programming. It traces its origins back well over thirty years. Although it’s far from the oldest computer language, it’s one of the older ones that is in common usage today – so you might say it gets an A for its ability to adapt to changing technological times.

Vcpkg 2020.04 Update and Product Roadmap

This is the April 2020 blog post on vcpkg, the cross-platform, open source C/C++ library manager. In this post, we will share some information on the 2020.04 release of vcpkg and discuss the vcpkg product roadmap, which we are publishing and will keep up to date over time.

Join us this week at Microsoft Build digital event

We are looking forward to this week’s main event, Microsoft Build 2020. Build 2020 starts tomorrow Tuesday, May 19 and will run for 48 continuous hours as a digital-only event that is open to anyway around the world, at no cost. This is the first major tech conference to go full-digital with an experience designed from the ground-up for a virtual audience.

C++ Linux development with Visual Studio

Visual Studio 2019 allows C++ developers to target both Windows and Linux (including the Windows Subsystem for Linux) from the comfort of a single IDE. Visual Studio 2019 version 16.7 Preview 3 introduces two features specific to Linux development: improved build incrementality for MSBuild-based Linux projects, and support for a wider range of Linux distributions and shells.

Build and debug C++ projects on a remote Linux system

With Visual Studio 2019 you can build and debug C++ projects on a remote Linux system or the Windows Subsystem for Linux (WSL). You can get started with Linux development in Visual Studio using MSBuild-based Linux projects or our native support for CMake.

C++20 Features and Fixes in VS 2019 16.1 through 16.6

What’s New We’ve been busy implementing C++20 features in MSVC’s compiler and Standard Library, and migrating the latter to microsoft/STL on GitHub – in fact, we’ve been so busy that we haven’t posted a C++ toolset changelog since the VS 2019 16.0 toolset changelog.

Improving code generation time with C++ Build Insights

A tutorial on using vcperf and the C++ Build Insights SDK for diagnosing and fixing C++ code patterns that slow down code generation. Code generation time is a significant contributor to total build time for optimized builds. During this step of the compilation process, source code is passed through several algorithms that transform your program into an optimized version that can be executed more efficiently.

Faster builds with PCH suggestions from C++ Build Insights

A guide to using vcperf and the C++ Build Insights SDK for creating and optimizing precompiled headers for your C++ builds. The creation of a precompiled header (PCH) is a proven strategy for improving build times. A PCH eliminates the need to repeatedly parse a frequently included header by processing it only once at the beginning of a build.

C++ program to check whether a String is a Pangram or not

A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions. Given string str, the task is to check whether a string is pangram or not using in C++.

The new Operator in C++: Dynamic Memory Allocation

In our series of C++ programming, in this article, we talk about the new operator in C++. The new operator allows us to request the allocation of memory space on a Heap structure. By using the C++ new operator, we can request additional memory during runtime i.e. at dynamic point of time during the process.