background preloader

C++11 FAQ

C++11 FAQ
Morgan Stanley | Columbia University | Texas A&M University home | C++ | FAQ | technical FAQ | C++11 FAQ | publications | TC++PL | Tour++ | Programming | D&E | bio | interviews | applications | glossary | compilers I'm a Managing Director in the technology division of Morgan Stanley in New York City, a Visiting Professor in Computer Science at Columbia University, and a Distinguished Research Professor in Computer Science at Texas A&M University. I designed and implemented the C++ programming language. To make C++ a stable and up-to-date base for real-world software development, I stuck with its ISO standards effort for 20+ years (so far). Writings:

http://www.stroustrup.com/

Related:  C++11

C++11 / C++0x Documentation « Punch Card You want to improve your “old” C++ code base by allowing new features or bug fixes to be enhanced with C++11? The questions you will face on the way are manifold. First, what exactly allows me C++11 to do? Where is some documentation? CodeProject: String Conversions. Free source code and programmin Download source files - 1 Kb This article describes a set of classes that are used to perform string conversions between the Unicode and ANSI character sets. Why is it needed? There are several reasons: If you are developing for COM, then all strings passed via the COM interfaces are wide strings (unless they are part of the VARIANT structure). C++ Operator Precedence [C++ Reference] The following table lists the precedence and associativity of C++ operators. Operators are listed top to bottom, in descending precedence. [1]The expression in the middle of the conditional operator (between ? and :) is parsed as if parenthesized: its precedence relative to ?

Free C / C++ Compilers and Interpreters C is a general purpose procedural programming language that is fairly easy to learn (in that it doesn't have many built-in features to memorize) but is nonetheless sufficiently expressive that it can be used to build any sort of computer program, including whole operating systems like Linux. C++ is a general purpose object-oriented programming language that was originally created as a superset of C (although nowadays the two languages have developed in different directions so that this is no longer strictly true). These two programming languages, C and C++, are probably among the most popular languages used to write programs. This page lists numerous free C and C++ compilers, cross-compilers and interpreters for a wide variety of operating systems on PCs, Macs and other computers. MinGW-w64

C Library Any Unix-like operating system needs a C library: the library which defines the ``system calls'' and other basic facilities such as open, malloc, printf, exit... The GNU C Library is used as the C library in the GNU systems and most systems with the Linux kernel. The GNU C Library is primarily designed to be a portable and high performance C library. It follows all relevant standards including ISO C11 and POSIX.1-2008. It is also internationalized and has one of the most complete internationalization interfaces known. The current stable version of glibc is 2.19. Just Software Solutions - Custom Software Development and Website Development in West Cornwall, UK My book, C++ Concurrency in Action contains a detailed description of the C++11 threading facilities, and techniques for designing concurrent code. The just::thread implementation of the new C++0x thread library is available for Microsoft Visual Studio 2005, Microsoft Visual Studio 2008, Microsoft Visual Studio 2010, g++ 4.5.2 and g++ 4.6.1 on Windows, g++ 4.3, 4.4, 4.5 and 4.6 on Linux, and g++ 4.3, 4.4 and 4.5 on MacOSX. Order your copy today. C++ Concurrency in Action and Just::Thread Discounts My book C++ Concurrency in Action was finally published on 29th February 2012, after 4 years of work. It's hard to believe that I can actually hold a copy in my hand; it's just been files on my computer for so long.

Free C++ Tutorials : C++ Language Tutorials Index Note that the tutorials are displayed in order of difficulty! (From beginner to experienced.) In this first C++ programming language tutorial we are going to look at the history of the C++ language. The C programming language was devised in the early 1970s by Dennis M. Ritchie an employee from Bell Labs (AT&T). (To view a brief history of the C language; click here).

Roadmap for Metro style apps using C++ Here are key resources to help you get started with using C++ (including Visual C++ component extensions (C++/CX)) to develop Windows Store apps. This is not a comprehensive list of all of the features or available resources. Some topics listed below are specific to C++, and some are not specific to any single programming language. C++ Concurrency in Action C++ Concurrency in Action is a reference and guide to the new C++ 11 Standard for experienced C++ programmers as well as those who have never written multithreaded code. This book will show you how to write robust multithreaded applications in C++ while avoiding many common pitfalls. About the Technology Multiple processors with multiple cores are the norm these days.

C++ Notes: Table of Contents Some of these supplemental notes are good, others only rough drafts or half-completed. Because they are designed only to provide additional examples, summaries, or explanations where the textbook is weak, they do not cover many obviously important topics. You can download a zipped version: notes-cpp-2004-12-19.zip [less than 400 KB]. -- Fred Other online sources www.cppreference.com - Function references.www.codeproject.com - Many articles from beginner to advanced. Very interesting.www.bruceeckel.com has both volumes of Bruce Eckel's excellent Thinking in C++ books. C++11 multithreading tutorial – part 2 C++11 multithreading tutorial - part 2 Posted on February 27, 2012 by Sol The code for this tutorial is on GitHub: In my last tutorial about using threads in C++11 we’ve seen that the new C++11 threads syntax is remarkably clean compared with the POSIX pthreads syntax. Using a few simple concepts we were able to build a fairly complex image processing example avoiding the subject of thread synchronization.

Really Brief Introduction to Object Oriented Design Notes from a lunch talk I gave on July 9, 2002. Introduction OO References: Link Open Multi-Methods for C++11, Part 1 Introduction This article is the first in a series about open multi-methods for C++11. In this installment, I will explain what they are, how they fit in the object-oriented paradigm, and make controversial statements. Subsequent articles will present a new library that implements open multi-methods, using the facilities provided by C++11 (in particular, variadic templates). The library's salient features are: fast, constant time dispatch using compact tables; arbitrary number of virtual and non virtual arguments; access to the next most specific specialization; and support for shared libraries and dynamic loading. The series will conclude with an in-depth presentation of the internals of the library.

Principles and Practice Using C++ Modified June 3, 2012 This is the support site for Stroustrup: "Programming: Principles and Practice using C++" Addison-Wesley 2009, ISBN 978-0321543721. This book is aimed at beginners taking a programming course and people learning C++ as self study. For details, see these samples: This book is based on a course I designed for engineering freshmen at Texas A&M University.

Related:  OBBL Online Math Toysc++