Explore C++ on Experts Exchange

Expert Solutions for Your Tech Problems

C++

C++ is an intermediate-level general-purpose programming language, not to be confused with C or C#. It was developed as a set of extensions to the ...

Read more
  • 57K Content
  • 9.3K Contributors

Article
Custom Header Image

Simple macro for single-statement exception handling

byZoppo
For a long time, I consider it very cumbersome to handle every possible exception in many function calls, especially in trivial cases where a return value could be used in a meaningful way even in the case of unexpected behaviour - Here I want to describe something I developed to make this easier.
Article

None-recursive variadic templates with std::initializer_list

byZoppo
This article is about the variadic template, which often is implemented in a way the compiler has to recurse through function calls and to create unneeded function. There's a way to avoid compile-time recursion using std::initializer_list.
Article
Bloom Filter

Bloom Filters

Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data definitely won't be found. Read on to find out more...
Article

OOAD - Object-Oriented-Analysis and Design

Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the basics of OOAD by referring the real time objects.
Article

Getting Started With Go Programming

1
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation, easy programming and fast execution.
Article

C / C++ main function prototypes

2
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental …
Article

When is Unicode not Unicode? When Microsoft gets involved!

8
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has…
Article

C++ Catching exceptions in constructors


You've created a class and during its construction an exception is thrown. Question: …
Article

C++ Throwing exceptions from destructors

You're implementing a beautiful class. It's just wonderful - the most perfect code you've ever …
Article

C++ Passing by value vs. passing by reference

First of all, this article is NOT going to explain C++ references and pointers
Article

Should I learn C before learning C++? Answer - NO!

4
Personal disclaimerBefore going any further I want to make it clear that the contents of …
Article

Simple COM for beginners using ATL.

Abbreviations:
COM - Component Object Model.
ATL - Active Template Library.
TLB- Type Library

Article

The Zen Of C++

Inspired by The Zen of Python and with a wink …
Article

Smart pointers - Are they really that smart?

byfjocke
3
Smart pointers - Are they really that smart?

You might have heard something called smart …
Article

Optimizing memory allocations with placement new

1
This article shows you how to optimize memory allocations in C++ using placement new. Applicable …
Article

Object Properties in C++

6
Many modern programming languages support the concept of a property -- a class member that …
Article

How to add properties to standard C++ classes

3
C++ Properties
One feature missing from standard C++ that you will find in many other …
Article

Watch, Memory, Stack Tips: C/C++ Visual Studio Debugger - Part 3

1
IntroductionThis article is a continuation of the C/C++ Visual Studio Express debugger …
Article

Breakpoint Tips for C/C++ Visual Studio 2008 Debugger - Part 2

3
IntroductionThis article is the second in a three part article series on the Visual Studio …
Article

An Introduction to STL Algorithms

byw00te
2
This article will show you some of the more useful Standard Template Library (STL)

Do more with Experts Exchange.


Get Answers

Take a Class

Collaborate

Monitor your Site

Explore solutions and more