Articles

by admin
news Welcome -- read before posting! closed
 
Welcome to the articles section in C++.com! In this forum, users can share technical documents an...
[no replies]
by Duoas
post Issues in Console Programming (1,2)
 
---------- Issues in Console Programming ---------- In thi...
[22 replies] Last: Yes: #include <windows.h> bool iskeypressed() { retu... (by Duoas)
news How To: Ask Questions The Smart Way closed
 
Abridged version of the work of Eric Steven Raymond Introduction In the world of p...
[13 replies] Last: All that needs to be said is 'Be specific, respectful and patie... (by Cerburos)
post Inline function Advantages, Disadvantages, Performance and User Guidelines ?
 
Inline function is the optimization technique used by the compilers. One can simply prepend inline k...
[18 replies] Last: It's not that the executable is placed in swap space; it's that the va... (by chrisname)
post Linked Lists
 
Linked lists are a basic concept in almost all programming languages, including interpreted and high...
[2 replies] Last: Yes, it is a C article. C is well known for it's classes and container... (by chrisname)
by Bazzy
post Beginner Exercises (1,2,3,...,6,7,8,9)
 
The original post was from Blitz Coder ( http://www.cplusplus.com/member/Blitz_Coder/ ) ...
[170 replies] Last: Try using a class or struct instead (by demosthenes2k8)
by jsmith
post When to pass parameters by value, reference, and pointer
 
Occasionally we get posts asking the differences between references and pointers, and in the contex...
[6 replies] Last: @Incubbus: I changed the wording a bit on that one. Also, I made... (by jsmith)
by jsmith
post The clone pattern
 
In order to copy an object, you have to know at compile time the object's type, because the type is...
[2 replies] Last: hamsterman, your version of the copy_me function really defeats the wh... (by kempofighter)
post Member Initialization List over Assignment
 
To start with, this article is not actually my own words. It is a small section of the fantastic boo...
[7 replies] Last: There is a difference in C++ between initialization and assi... (by jsmith)
post So you want to program games? (1,2)
 
NOTE: This article does not start you on game programming! The Beginning: A lot of people...
[31 replies] Last: Nice article, I am new to C++ but I eventually would like to get into ... (by Slambofett)
post An alternate to using getch()
 
OK, I have seen enough people suggesting the use of non-standard getch() or _getch(). Please, ref...
[9 replies] Last: Like I said, it's only unreadable to me because WinAPI is unreadable t... (by chrisname)
news Guide to Common Standards (1,2,3)
 
Currently under-construction. INTRODUCTION What is a set of standards and w...
[45 replies] Last: I am yet to work in such in environment so I failed to see it b... (by kempofighter)
news random tips and tricks that might be useful
 
1. have you seen unindented codes from the forum? well if you're using code::blocks, there is a plu...
[9 replies] Last: well if you're using code::blocks, there is a plugin called ASt... (by chrisname)
post Enabling GodMode on Windows 7
 
"GodMode" if you can call it that, is an advanced Control panel available to the new Windows 7. Only...
[7 replies] Last: [quote=DrChill]how do all these easter eggs get found? Peop... (by gcampton)
by jsmith
post C++ type erasure
 
One of the significant advantages templates have over polymorphism is their ability to retain type....
[15 replies] Last: Another reason to use type erasure, as a colleague put it: when the t... (by jsmith)
by jsmith
post Copy constructors, assignment operators, and exception safe assignment
 
What is a copy constructor? A copy constructor is a special constructor for a class/stru...
[3 replies] Last: Sure. It just means that if you, the programmer create some type Fo... (by jsmith)
solved c++ and java differences (1,2)
 
i've just learn the basics of c++ and figured out some differences of c++ and java. i'd like to post...
[22 replies] Last: So do I. Not doing so is asking for memory leaks and such. (by chrisname)
by Disch
post Put your code in code tags
 
If you post code on this forum, put your code in code tags. If you already pasted some code witho...
[8 replies] Last: either code tags, or pastebin.com. pastebin by far is really easy, as ... (by xitan)
solved Article Preview/Submit Question
 
I recently wrote an article on how to use tags, but I'm not sure how to "submit" it, does submit/pre...
[4 replies] Last: Good point, misleading title FTL >_> (by firedraco)
by Disch
post Multidimentional arrays are evil
 
Multidimentional arrays are evil. I see a lot of noobs get sucked into ...
[8 replies] Last: How does it accomplish that? I tried to do something like that i... (by kempofighter)
by Disch
post WinAPI: Being Unicode Friendly
 
Section 0) Introduction This article is to go over being Unicode Friendly in WinAPI. I...
[10 replies] Last: wcout doesn't work like you'd expect. It's pretty much useless. I ... (by Disch)
post main() never executing. an academic exercise
 
Frequently I have heard the question, "Can you write a program without main()?" The answer is yes......
[12 replies] Last: Oh. I haven't read anything in init; I've glanced at panic, printk and... (by chrisname)
by Null
post Passwords
 
I'm going to show how to get passwords on windows and linux UNIX: One of the simpl...
[4 replies] Last: Wouldn't that cause undefined behaviour? I thought you aren't a... (by chrisname)
post DLL Symbols
 
What is a DLL? A DLL is a dynamic-linking library. It acts as a shared object in whic...
[3 replies] Last: There aren't any big difference between DLL and EXE. Why? Because It'... (by Null)
post Pig Latin XD
 
I completed it :) input text filter output piglatin http://en.wikipedia.org/wiki/Pig_latin ...
[1 reply] : #include <conio.h> :( Don't bother making main take... (by firedraco)
post How to use the Conditional (ternary) operator: (1,2)
 
Note: It has become apparent that what is known as the ternary operator in C is in fact called the "...
[32 replies] Last: Voting sounds nice, maybe something like slashdot where low rat... (by chrisname)
post Template Instantiation
 
Template Instantiation I was looking around for something to wite a small article about and this...
[4 replies] Last: Yes (unless you have a cool export-compliant compiler) (by Bazzy)
post C++ LAPACK
 
The following is a framework for using LAPACK with C++. For more information checkout the LAPACK ...
[7 replies] Last: than you for your answer.this case too hard for me now :D. i must lear... (by areyoupp)
post How to parse command line parameters.
 
A simple tutorial on command line parameters, as some people may not know how it is done. -sec "W...
[19 replies] Last: oh, ok. (by chrisname)
by Duoas
post Clear the screen (1,2)
 
This short article describes the method of clearing the console display of all text and positioning ...
[37 replies] Last: :-) (by Duoas)
news Object Oriented XML
 
I developed a base class that any MFC object, COM object, CORBA object or any custom object may deri...
[no replies]
post Objectify design pattern
 
As is common in any programming language, the greatest boon usually also turns out to be the greates...
[no replies]
by Bazzy
news Converting numbers to strings and strings to numbers
 
This question is asked quite often, so here is a way of doing it using stringstreams : [c...
[17 replies] Last: try with wstringstream: wstringstream wss; wss << 324545678; ... (by Bazzy)
Pages: [1] [2] [3]   Archived months: [jan2010]

Registered users can post in this forum.