Learncpp - learncpp.com - Learn C++ » Languages » English
General Information:
Latest News:
B.6 — New virtual function controls: override, final, default, and delete 1 Dec 2011 | 09:19 pm
override When working with derived classes, it’s fairly easy to inadvertently create a new virtual function in the derived class when you actually meant to override a function in the base class. This...
B.5 — Delegating constructors 28 Nov 2011 | 09:57 am
Delegating constructors In C++03, there are often cases where it would be useful for one constructor to call another constructor in the same class. Unfortunately, this is disallowed by C++03. Commonl...
B.4 — Initializer lists and uniform initialization 28 Nov 2011 | 08:17 am
Initializer lists C++03 has partial support for initializer lists, allowing you to use initializer lists for simple aggregate data types (structs and C-style arrays): However, this doesn’t work for ...
B.3 — Range-based for statements and static_assert 28 Nov 2011 | 08:13 am
Range-based for statements In C++03, stepping through all the values of a sequence requires a lot of code, particularly when using the iterator syntax: In C++11, the auto keyword makes this a little...
B.2 — Long long, auto, decltype, nullptr, and enum classes 26 Nov 2011 | 09:45 pm
Type long long In you recall from lesson 2.4 — Integers, the largest integer type C++03 defines is “long”. Long has a platform-specific size that can be either 32 or 64 bits. C++ defines a new type n...
B.1 — Introduction to C++11 26 Nov 2011 | 09:42 pm
What is C++11? On August 12, 2011, the ISO (International Organization for Standardization) approved a new version of C++, called C++11. C++11 adds a whole new set of features to the C++ language! Us...
A.6 — Fixed-width integers 26 Nov 2011 | 07:59 pm
Fixed width integers The C99 standard defines a set of integer types that have predetermined sizes, so you don’t have to worry about the size of an integer changing if you move to another platform. ...
Site software updated 11/23 24 Nov 2011 | 04:41 pm
Hey all, I updated the site software today, including the primary software and a bunch of plugins. So far everything seems to be working great but it’s very possible that something has gone awry some...
This is why we can’t have nice things, part 2 22 Oct 2011 | 05:47 am
On the heels of my previous post This is why we can’t have nice things, we’ve had a another incident with hackers/malicious software. According to my host, exploiters found a way to exploit the WebMin...
This is why we can’t have nice things 5 Oct 2011 | 08:38 am
As you may have noticed, the site has been down for the last 5 days. The good news is that we’re back up (obviously), and things should stay that way now that they’re resolved. For those of you who a...