HOME > RSS Feeds > Cplusplus
Add To:  Subscribe with My Yahoo!  Subscribe with Google  Subscribe in NewsGator Online  Subscribe in Rojo  Subscribe with Pluck RSS reader  Subscribe with Bloglines  Add to AOL Subscribe to this feed using your favorite reader  

 
Intel Threading Building Blocks
In this second part of a two-part article on Intel Threading Building Blocks, you will learn about programming with raw threads versus MPI, and OpenMP. This article is excerpted from chapter one of the book Intel Threading Building Blocks: Outfitting C++ for Multi-core Processor Parallelism, written by James Reinders (O'Reilly; ISBN: 9780596514808). Copyright © 2007 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

Threading Building Blocks with C++
You don't have to be a threading expert to get the most out of your C++ applications. You can use Intel Threading Building Blocks to get the best performance out of multi-core processors. This two-part article introduces you to the most important concepts and benefits of this approach. It is excerpted from chapter one of the book Intel Threading Building Blocks: Outfitting C++ for Multi-core Processor Parallelism, written by James Reinders (O'Reilly; ISBN: 9780596514808). Copyright © 2007 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

Video Memory Programming in Text Mode
Nowadays we take so many things for granted. This isn't necessarily a bad thing, as knowing that performing a certain task will usually yield the same result can be a blessing. Nevertheless, some basic knowledge of how a thing gets done lets you better understand the world in which we live. Therefore, today I invite anyone who likes to code in any of the popular languages to see how a word gets printed out on the console screen.

More Tricks to Gain Speed in Programming Contests
As much as we would like to encourage smart thinking in programming contests, in the end, what makes the difference most of the time is who knows more tips and tricks to gain the extra advantage required. Today I am going to present another collection of them, believing that maybe someday, one of these will help you win.

Easy and Efficient Programming for Contests
Efficient coding ensures that you complete a task in the smallest time interval possible without complicating your life too much. Now, you do not need to work like this for every little bit of code you type. This approach will be priceless, however, whenever time is of the essence, as it is for a programming contest.

Preparing For Programming Contests
A programming contest is a special kind of challenge -- one in which the most important fact is the knowledge with which you come to the contest and the intuition you will have during it. What really counts is not your level of physical fitness, but the state of your mind. To prepare for something like this requires a different approach. You will found out exactly what it takes if you read further.

Programming Contests: Why Bother?
Would you like to learn how to be a better, more efficient programmer? Do you want to build optimized code that runs faster than anything you thought you could create? Then you might find that entering programming contests helps you sharpen your skills. Keep reading as we take a close look at what you can gain from pitting your programming skills against your peers from around the world.

Polymorphism in C++
If you are new to the world of object-oriented programming, then your first thought after reading the title of this article is what the heck could ever transform in code? The answer is not so trivial that I can explain it in just a sentence, but join me throughout this article and you will get the idea.

Overview of Virtual Functions
The word virtual is strange enough on its own. It is defined philosophically as that which is not real but contains all of the properties of the real object. However, ultimately something virtual is fake. Virtual functions are similar in concept, so follow along with me through this article to discover how to use them and when to do so in the C++ language.

Inheritance in C++
Programmers seem to hate coding something from scratch; why code the same thing over and over again? Fortunately, it is possible to reuse code, thanks to one of the key concepts of object-oriented programming. That is inheritance, which is the subject of this article. So if you're looking for a clear explanation of how inheritance works in C++, keep reading.

Extending the Basic Streams in C++
The basic stream library (iostream) is designed to resolve most of the general problems you may run into during your programming endeavors. However, sometimes it simply isn't enough, and you need to extend it to suit your application—your special situation. This article will show you how to do that.

Using Stringstreams in C++
Variety is the spice of life; if you could see the same things each day, drink the same coffee, meet the same people, eat the same things, life would be absolutely boring. The drawback of this, on the other hand, is that coordinating such variety can be a big challenge. Copied from the multiplicity in our world, we have a significant diversity of types within the C++ programming world. This is not always a good thing. This article will explain how to tackle this challenge with help from streams and the STL class.

Custom Stream Manipulation in C++
The creators of the STL library have surely gone beyond the expectations of many programmers. However, as perfect and complete as their library may seem at first, you will slowly discover that even they could not cover everything. That's when it is time for you to learn how to create a custom class/function that suits your specific needs.

General Stream Manipulation in C++
Using streams in C++ is an easy and intuitive task. However, sometimes you may want to customize the input/output on a deeper level. This is possible in a powerful and easy way with the use of the manipulators.

Serialize Your Class into Streams in C++
Writing code in C++ is not a trivial task, but quite manageable for anyone who gets into his or her head the desire to achieve success in the coding segment of life. To make the coding process more understandable, C++ offers the stream concept. This article will be all about how to make your class compatible with this technology.

Advanced File Handling with Streams in C++
In the previous article of this series, titled File Handling and Streams in C++, you saw how to handle files in an easy and convenient way. Getting input data from a file or putting such data into a file should be familiar to you now. In this article, we'll take a look at some more advanced tasks and tricks so you can gain speed and efficiency in your work.

File Handling and Streams in C++
Welcome to the fourth part of a ten-part series covering the use of streams with C++. Streams can save you a lot of time and effort that would otherwise be spent on trivial, tedious tasks. In this article, we'll show you how to use streams to improve the data flow of your applications.

The STL String Class
A text is nothing more than a successive sequence of characters. In the old days of programming, text was generally stored inside an array of characters. However, working with such arrays proved to be problematic, as you could easily trigger an overflow of the pre-allocated buffer or call for an invalid index. Fortunately, there is an easier way to handle this today, which you will learn in this article.

Iostream Library and Basic I/O in C++
The foundation of every relationship is communication. The quality of the communication is the first factor that determines the way the relationship evolves. This statement also holds true in the world of C++, and to raise the quality of communication, a library called iostream has been implemented.

Introduction to Streams
C++, unlike C, has the kinds of services and additions that, at the beginning at least, seem like evil dinosaurs meant to make your life harder and to complicate simple problems. However, once you get the hang of them, you’ll realize the opportunities that they give you, and you won’t ever want to use the older C methods for the same purpose again. Streams are one of these wicked dinosaurs.