C++ Tutorial [39] - Access Specifiers | Accessors & Mutators

In this episode, I show you how to use access specifiers like public and private in the class definitions so that you can achieve data hiding. I also demonstrate the use of accessors and mutators(getters and setters) which are functions to access the hidden data indirectly. Finally, I also demonstrate the const keyword with function prototypes that serve as a promise to the C++ compiler that you won't be modifying any data in the function implementation.

An Introduction to the New Features in C# 9

Better Pattern Matching, Record Classes, Initialization-only properties, and much more! An Introduction to the New Features in C# 9. With the upcoming release of .NET 5 — the release which unifies the .NET runtimes — Microsoft recently announced the features that will be included in C# 9. With the final Preview version of C# 9 being announced today, it’s not far off.

Scope Resolution operator in C++ - 4 variants to know!

In this article, we will be focusing on 4 Variants of Scope resolution operator in C++. What is Scope resolution operator in C++? C++ programming language, comprises of various operators to deal and manipulate the data. One such operator is Scope resolution operator(::).

C++ macros - All you need to get started

In this article, we will be focusing on an important aspect of system Programming -- C++ macros. Preprocessors assist the compilers and give instructions to preprocess certain commands before the compilation of the program begins! As the preprocessor directives are system programming statements, they do not end with a semicolon.

An Introduction to the New Features in C# 9

Better Pattern Matching, Record Classes, Initialization-only properties, and much more! With the upcoming release of .NET 5 — the release which unifies the .NET runtimes — Microsoft recently announced the features that will be included in C# 9. With the final Preview version of C# 9 being announced today, it’s not far off. An Introduction to the New Features in C# 9

C2Rust Aims to Enable C Transpilation to Rust

C2Rust is an open-source project that aims to make it possible to migrate C99-compliant code to Rust. Working on this relatively new tool has also allowed its creators to learn a few lessons about the way C code is written and to explore the current limits to Rust possibilities of replacing it at the ABI level.

C++ Tutorial [38] - Intro to Object Oriented Programming

In this episode, we dive into Objected Oriented Programming. First, I give a short presentation on the concepts behind OOP and then we jump into Visual Studio to code our first class and objects. C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes".

Complete C++ Interview Questions & Answers

The article cover’s most commonly asked interview questions in c++ and a brief explanation of each question. Object-oriented programming is a programming paradigm based on the concept of “objects” of the classes, Objects may contain data in the form of fields and associated code in the form of methods. The objects can access their own procedures and can modify their data fields.

Automatically find latent bugs in your code with .NET 5

Introducing AnalysisLevel in the C# compiler to introduce warnings to patterns like common codingmistakes or common API misuse. It’s an exciting time to be writing code! Especially for .NET developers as the platform keeps getting smarter. We now include rich diagnostics and code suggestions in the .NET SDK by default.

List in C++ Standard Template Library

In this article, we will be focusing List in C++ in detail. Standard Template Library is a generic library that comprises of different c++ template classes. It includes various classes and methods that can operate on different types of data records/values. By this, we mean that, we need not define classes and methods over and over to perform the same operation on different data type values.

Features of C++17 with Examples

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. C++17 enables writing simple, clearer, and more expressive code.

C++ cout - Basic Output Operation in C++

In this article, we will be focusing on C++ cout statement to perform the output operation in C++. In C++, cout is an object of ostream class. It accordingly displays the output values on the console/screen. The cout object holds its cords with the standard C output stream stdout. When we give a call to the cout object, it invokes the action of class ostream i.e. output stream and streams the data into a pipeline of bytes.

Life cycle of Objects in C++ with Example

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. In Object Oriented Programming, Objects are the instances of a class which has its own state(variables) and behavior(methods).

C++ Tutorial [37] - More Enums | Strongly Typed Enums

In this episode, I show you how to create variables alongside making enumerations and how to use strongly typed enumerations so that you can have the same enumerator in two different enumerations. C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes".

C++ Tutorial [36] - Enumerations

In this episode, I show you how to create and use Enumerations in C++. C++ is a general-purpose programming language created by Bjarne Stroustrup as an extension of the C programming language, or "C with Classes". The language has expanded significantly over time, and modern C++ now has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

N-Queens problem using backtracking in Java/C++

If you love playing chess, you'll enjoy learning about the N-queens problem. It is a good problem to understand backtracking. In backtracking, we start with one pos­si­ble move out of many avail­able moves. We then try to solve the prob­lem. If we are able to solve the prob­lem with the selected move then we will print the solu­tion. Else we will back­track and select some other move and try to solve it.

Introducing vcperf /timetrace for C++ build time analysis

Carlos Fraguas from Mercury Steam Entertainment describes how he used the C++ Build Insights SDK to improve vcperf and create his own tools. I work as a Gameplay Programmer at Mercury Steam Entertainment. Let’s look at how the C++ Build Insights SDK helped me create tools to decrease build times and how I ended up adding a new visualization option into vcperf.

Document Accessibility for PDF Documents in C# .NET

GcPdf provides the ability to create tagged PDF documents, allowing you to tag the structural elements. This makes the PDF document accessible. An accessible PDF is also referred to as a tagged PDF document. PDF tags have names similar to HTML tags. Here is a list of standard tags used in PDF documents. Adding these tags has no visual effect on the document.

How to declare/define and use functions

Due to its flexibility in size of the list of input arguments, it is very useful especially in system programming. Its usual use cases include summing of numbers, concatenating strings, and so on. Typical examples include the printf in C programming language, execl and execlp in Unix, _execl and _execlp in Windows, and many others. This post introduces how to declare/define and use such functions.

C++ Tutorial for Beginners - Types of Inheritance in C++

In this video we will see How to use Types of Inheritance in C++ . C++ is general purpose, compiled, object-oriented programming language and its concepts served as the basis for several other languages such as Java, Python, Ruby, Perl etc. The goal of this course is to provide you with a working knowledge of C++. We'll start with the basics, including syntax, operators, loops, and functions.