Articles - 2011 archive

NOTICE: This forum is now permanently closed.
No new threads can be created.

To post a new article, please visit the Articles section at http://www.cplusplus.com/articles/.

 
How to Make a Game 2 (1,2)
 
It has been recently brought to my attention that many people ask about game development, yet there ...
[23 replies] Last: Number 2 was just a rewrite of Number 1 because we ran out of space ;)... (by anonymous23323124)
cannot correct the error
 
#include<stdio.h> #include<string.h> #include<iostream.h> #include<conio.h> int main() { clrsc...
[7 replies] Last: The error is at line if(char astr ==" ") first use ' ' to compare... (by mbisht)
Using noexcept
 
Hi, Did you notice the new keyword in incoming C++11 standard (C++0x): noexcept ? In case you won...
[6 replies] Last: Thanks for explanation. The conditional noexcept is a nice thing, albe... (by rapidcoder)
Alternative Construction Methods
 
Most people complain about exceptions. They then proceed to complain that exceptions are the only wa...
[9 replies] Last: It is true that boost::shared_ptr is much slower than built-in pointer... (by jsmith)
what is this with the incrimination in the if statement
 
#include <iostream.h> int main() { int x=99; if(x++<100) { cout<<"it is false"; } else { c...
[3 replies] Last: I don't think it sounds like that...but I do think it's confusing. (by firedraco)
C++0x Suffix Return Types
 
Going to post this article about C++0x suffix return types on my blog later, and I thought I'd put i...
[6 replies] Last: Sorry, yes. Yours is of course a scope example as well. Anyway, it has... (by anonymous23323124)
Secrets of Boost Revealed: Checked Delete
 
Secrets of Boost Revealed Boost C++ Libraries ( http://www.boost.org ) Topic / Idiom: Ch...
[no replies]
Visual Studio 2008 / 2010 GOTCHA's
 
VS just royally screwed me over again...so I figured that I could start a list of items that are a b...
[5 replies] Last: Does anyone know how to include STL documentation? I have noticed tha... (by johnnystarr)
Why we've deprecated Dev-C++. (1,2)
 
Good afternoon males, females, natural hermaphrodites, unnatural hermaphrodites, unsexed, androgens,...
[37 replies] Last: Huh? Doesn't the IDE you use support multiple build targets? (ehh, an... (by Moschops)
Why we are a bunch of tough lovers. (1,2,3)
 
Tee hee hee... I called us lovers! O_o Hello females, males, transsexuals, natural hermaphrodites...
[45 replies] Last: I must say that I agree with everything that the OP has said in this a... (by Danellos)
map< string, Obj > vs map< string, Obj* >
 
let's discuss advantages and disadvantages of map< string, Obj > vs map< string, Obj* > when do y...
[4 replies] Last: It doesn't matter whether or not unique_ptr is thread-safe (it isn't) ... (by jsmith)
Why you should NOT delete your posts after getting an answer.
 
Good day loyal subjects and complete slaves fellow programmers, I've seen the following behavio...
[11 replies] Last: [quote=kfmfe04]erase their threads Yet another flaw of the reporting ... (by anonymous23323124)
How to make a game (1,2)
 
Updated version here: http://cplusplus.com/forum/articles/43175/
[34 replies] Last: Remade the article with room to spare. Find it here: http://cplusplus.... (by ModShop)
How to use code tags
 
How to use code tags When posting, you will probably want to post the code that you are having ...
[5 replies] Last: [quote=Zeillinger]I'm not trying to criticize but I will say that the ... (by closed account z05DSL3A)
by Disch
"How to Ask Questions": Itemized thread/rehash
 
I'm sure all of us are familiar with the famous "How to ask question the smart way" guide. I don'...
[6 replies] Last: Addition to the above: Wrong code usually won't compile ( or gives wa... (by Bazzy)
Networking
 
Networking What is networking? It's a collection of something that send data from one something to...
[9 replies] Last: @ sohguanh : Apple and Microsoft business patterns are so simular bec... (by Computergeek01)
ODB C++ ORM 1.4.0 adds support for Qt, inheritance
 
Hi, I am pleased to announce the release of ODB 1.4.0. ODB is an open-source object-relational...
[no replies]
Rounding Algorithms - Discussion
 
On a slow but regular basis I get questions and commentary about the Article I posted a while ago: ...
[4 replies] Last: Wow, you're still getting called on an article you wrote almost thre... (by Computergeek01)
Simple XOR encryption (1,2,3)
 
Alright, beginner's encryption lesson: everything on a computer is stored as binary data, in the fo...
[41 replies] Last: http://www.cbsnews.com/8301-504083_162-20048715-504083.html Hope you ... (by Veltas)
by jason9
Linked List Template and Binary Search Tree
 
I am posting this because after all my research I could not find a good example of both a templatize...
[10 replies] Last: This confirm my earlier posting. Working and academic worlds are diffe... (by sohguanh)
Year 2011 Pages: 12
  Archived years: [2010 archive] [2012 archive]