« first day (400 days earlier)      last day (4551 days later) » 

7:25 PM
posted on July 26, 2010 by Alf P. Steinbach

I’m a compulsive writer, I admit. So, when testing Visual C++ 10.0, via Microsoft’s free Visual C++ Express IDE, I wrote about it. In Norwegian! Maybe it’ll be a book. Anyway, I always write as if it’s going to be … Continue reading →

posted on August 04, 2010 by Alf P. Steinbach

About the Norwegian C++ intro, see my earlier posting. Not sure if this works or not, but I’m trying to embed a PDF of a Table of Contents generated by Word: Enjoy!   [Possibly/probably more to come, after all, I’m … Continue reading →

posted on August 10, 2010 by Alf P. Steinbach

The Norwegian introduction to C++ programming (a bit Windows-specific) is at Google Docs, in PDF format, 3 chapters so far: Introduksjon til C++-programmering (Windows) Each file has a nice table of contents but for that you need to download the … Continue reading →

posted on August 22, 2010 by Alf P. Steinbach

The Norwegian introduction to C++ programming (a bit Windows-specific) is at Google Docs, in PDF format, 4 chapters so far: Introduksjon til C++-programmering (Windows) Each file has a nice table of contents but for that you need to download the … Continue reading →

posted on January 02, 2011 by Alf P. Steinbach

The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health: The Blog-Health-o-Meter™ reads Wow. Crunchy numbers A helper monkey made this abstract painting, inspired by … Continue reading →

posted on November 02, 2011 by Herb Sutter

  People keep asking me where to find good information on C++11. Until now I’ve had to point them to blogs, and say that we’re all working on revising our books but it’ll take a while. It’s been an unsatisfying answer. Finally I have a C++11 “book” I can direct people to: Today Scott Meyers [...]

posted on November 03, 2011 by Herb Sutter

I don’t normally blog poetry, but the passing of our giants this past month has put me in such a mood. . What is built becomes our future Hand-constructed, stone by stone Quarried by our elders’ labors Fashioned with their strength and bone Dare to dream, and dare to conquer Fears by building castles grand [...]

posted on November 04, 2011 by Herb Sutter

JG Questions 1. What is the Pimpl Idiom, and why is it useful? Guru Questions 2. What is the best way to express the basic Pimpl Idiom in C++11? 3. What parts of the class should go into the impl object? Some potential options include: put all private data (but not functions) into impl; put [...]

posted on November 16, 2011 by Herb Sutter

The solution to GotW #100 is now live. Filed under: C++, GotW

posted on November 16, 2011 by Herb Sutter

GotW #100 demonstrated the best way to express the Pimpl idiom using only standard C++11 features: Guru Question Is it possible to make the widget code easier to write by wrapping the Pimpl pattern in some sort of library helper? If so, how? Try to make the widget code as convenient and concise as possible [...]

posted on August 19, 2011 by Anders Schau Knatten

In which I demonstrate how boost::assign::list_of simplifies initialization of containers. I have previously blogged about how Uniform Initialization Simplifies Testing. In C++, you can initialize an array when defining it, but you can not initialize containers: You have to resort to something like this: In C++0X, we will have Uniform Initialization to take care of [...]

posted on August 26, 2011 by Anders Schau Knatten

In which I argue you shouldn’t be afraid of returning even large objects by value. If you have somewhat large collections of somewhat large objects in a performance-critical application, which of the following functions would you prefer? The first version looks faster, right? After all, the second one returns a copy of the vector, and [...]

posted on October 28, 2011 by Anders Schau Knatten

What is the output of this program? Answer: Noone knows! What is the output of this program? Answer: Noone knows! There is a difference in the severity of uncertainty though. The first case results in undefined behaviour (because we are indexing outside of the array), whereas the second results in unspecified behaviour (because we don’t [...]

posted on November 04, 2011 by Anders Schau Knatten

Last week I wrote about The Difference Between Unspecified and Undefined Behaviour. This week I’d like to expand a bit more on the severity of undefined behaviour. If however you have a lot of time, instead go read A Guide to Undefined Behavior in C and C++ by John Regehr of the University of Utah, [...]

posted on November 11, 2011 by Anders Schau Knatten

In which I argue you should reduce the circle of influence, and the ability to change, of every variable. The more a variable can do, the harder it is to reason about. If you want to change a single line of code involving the variable, you need to understand all its other uses. To make [...]

posted on February 12, 2011 by Dave Abrahams

Recently, Michal Mocny published an article applauding the C++ Committee’s recent decision to keep implicitly-generated move operations in the C++0x standard. I disagree, and I think it raises some really interesting questions about the standardization process and what’s next for C++, which I’ll discuss at the end. For those of you who missed my previous [...]

posted on March 07, 2011 by Dave Abrahams

There’s some very nice empirical work on evaluating the costs and benefits of using C++ exception-handling in this post.

posted on April 01, 2011 by Scott Meyers

C++Next is happy to republish the following article by Scott Meyers, with Scott’s permission, of course. Thanks, Scott! If you write “int i;” in C++, i’s type seems obvious: int. If you write “const int i;”, i’s type seems equally obviously to be const int. Often, these types are exactly what they seem to be, [...]

posted on April 08, 2011 by Dave Abrahams

The premier annual US C++ event, BoostCon, runs May 15-20, 2011 in beautiful Aspen, Colorado! Hans Boehm, the father of C++ garbage collection and the C++0x threading model, headlines the fifth annual Boost Conference, with his keynote, “Threads and Shared Variables in C++0x.” Other sessions about which which I’m personally excited: Christopher Kohlhoff, the author [...]

posted on November 04, 2011 by Dave Abrahams

This entry is part of a series, Having It All» As I’ve been dreaming about the future of C++, I’ve started to ask myself, “what if we could have it all?” What if we could write C++ code with the agility of Python programmers, and still have all the static checking we really want, when [...]

 
10 messages moved from Lounge<C++>
10 messages moved from Lounge<C++>
 
8:11 PM
test post. C# is a creation of Sharp Corporation of Japan.
 
8:23 PM
test edited
test not edited
test 2
[code]
[code]coddddddddddddddddddd[/code]
asdfas
aaaaaaaaaaaaaaa
aaaaaaaaaaaaaaa
<b>asdasdasd</b>
<i>asdasdasd</i>
as
asas
saddas
:1829106
test
 

« first day (400 days earlier)      last day (4551 days later) »