¡@

Home 

c++ Programming Glossary: programmer

C++ Singleton design pattern

http://stackoverflow.com/questions/1008019/c-singleton-design-pattern

What is a smart pointer and when should I use one?

http://stackoverflow.com/questions/106508/what-is-a-smart-pointer-and-when-should-i-use-one

of the object being pointed to. With bare C pointers the programmer has to explicitly destroy the object when it is no longer useful...

System(“pause”); - Why is it wrong?

http://stackoverflow.com/questions/1107705/systempause-why-is-it-wrong

quite understand The command system pause is taught to new programmers as a way to pause a program and wait for a keyboard input to.. However it seems to be frowned on by many veteran programmers as something that should not be done in varying degrees. Some.. your house and kill you if you use it. I myself am a new programmer with no formal programming training. I use it because I was..

Which I/O library do you use in your C++ code? [closed]

http://stackoverflow.com/questions/119098/which-i-o-library-do-you-use-in-your-c-code

library instead of the C stdio library. I've noticed some programmers seem to stick to stdio insisting that it's more portable. Is.. etc. scanf printf and family on the other hand rely on the programmer getting the format string correct and there was no type checking.. that helps . As a result it was the source of many bugs as programmers are less perfect in their analysis than compilers not going..

What is “cache-friendly” code?

http://stackoverflow.com/questions/16699247/what-is-cache-friendly-code

director of technology @ Sony LWN.net's article What every programmer should know about memory Main concepts for cache friendly code..

Why should exceptions be used conservatively?

http://stackoverflow.com/questions/1744070/why-should-exceptions-be-used-conservatively

explanation that should never be accepted by a respectable programmer engineer. There is a range of problems that an exception can..

Calling class method through NULL class pointer

http://stackoverflow.com/questions/2505328/calling-class-method-through-null-class-pointer

since you do not use this arg. UPDATE Thanks to Windows programmer for right comment Such code is alright only for CPU which executes..

Is “for(;;)” faster than “while (TRUE)”? If not, why do people use it?

http://stackoverflow.com/questions/2611246/is-for-faster-than-while-true-if-not-why-do-people-use-it

those lines I'm guessing that as is the reason for many a programmer to resort to cryptic code this is a tiny margin faster Why and..

C++ cast syntax styles

http://stackoverflow.com/questions/32168/c-cast-syntax-styles

as already mentioned no checking is performed here. The programmer simply cannot know which of the various casts is used which..

Optimizing away a “while(1);” in C++0x

http://stackoverflow.com/questions/3592557/optimizing-away-a-while1-in-c0x

proposed change in C 0x and C201X By writing a loop the programmer is asserting either that the loop does something with visible..

What are all the common undefined behaviour that a C++ programmer should know about? [closed]

http://stackoverflow.com/questions/367633/what-are-all-the-common-undefined-behaviour-that-a-c-programmer-should-know-ab

are all the common undefined behaviour that a C programmer should know about closed Say like a i i c undefined undefined..

How many and which are the uses of “const” in C++?

http://stackoverflow.com/questions/455518/how-many-and-which-are-the-uses-of-const-in-c

are the uses of &ldquo const&rdquo in C As a novice C programmer there are some constructs that look still very obscure to me..

Operator Precedence vs Order of Evaluation

http://stackoverflow.com/questions/5473107/operator-precedence-vs-order-of-evaluation

used terms in programming and extremely important for a programmer to know. And as far as i understand these 2 concepts are tightly..

Polymorphism in c++

http://stackoverflow.com/questions/5854581/polymorphism-in-c

appropriate code. C mechanisms for polymorphism Explicit programmer specified polymorphism You can write f such that it can operate.. your terminology. Still what's crucial to being a great C programmer is understanding what polymorphism's really doing for you..... something more. 2GLs assembly languages often require the programmer to explicitly use different mnemonics for different types. Standard..

Why should `new` be used as little as possible?

http://stackoverflow.com/questions/6500313/why-should-new-be-used-as-little-as-possible

everything on the stack. Stop thinking like a Java programmer. I'm not really sure what he means by that. Could anyone clarify..

Understanding the meaning of the term and the concept - RAII (Resource Acquisition is Initialization)

http://stackoverflow.com/questions/712639/understanding-the-meaning-of-the-term-and-the-concept-raii-resource-acquisiti

on that RAII can solve many nasty problems the average programmer might not even be aware of. Here are a few examples beyond the..

Singleton: How should it be used

http://stackoverflow.com/questions/86582/singleton-how-should-it-be-used

you know Because everyone else is doing it See cargo cult programmer in wikipedia In user interface widgets It is supposed to be..

Garbage Collection in C++11

http://stackoverflow.com/questions/12313405/garbage-collection-in-c11

In fact earlier GC proposals such as n2310 Transparent Programmer Directed Garbage Collection for C explicitly states that n2310..

Determining the alignment of C/C++ structures in relation to its members

http://stackoverflow.com/questions/364483/determining-the-alignment-of-c-c-structures-in-relation-to-its-members

determines the alignment of the structure in What Every Programmer Should Know About Memory but I couldn't find anything remotely..

LLVM get constant integer back from Value*

http://stackoverflow.com/questions/5315176/llvm-get-constant-integer-back-from-value

int constIntValue constValue The examples shown in LLVM Programmer manual seem to imply that cast will accept a pointer when using..

C++ for the C# Programmer

http://stackoverflow.com/questions/531722/c-for-the-c-sharp-programmer

for the C# Programmer I have a good understanding of OO from java and C# and I'm..

Does using references instead of pointers, resolve memory leaks in C++?

http://stackoverflow.com/questions/6783939/does-using-references-instead-of-pointers-resolve-memory-leaks-in-c

c new my_class return c int main my_class var1 func1 ... Programmer forgot delete the var1 delete var1 or Doesn't know 'delete var1.. var3 new my_class func2 var3 Does func2 deletes var3 Programmer doesn't know. or Programmer forgot delete the var3. I use a.. var3 Does func2 deletes var3 Programmer doesn't know. or Programmer forgot delete the var3. I use a method to resolve memory leaks..

How to write fast (low level) code? [closed]

http://stackoverflow.com/questions/6852670/how-to-write-fast-low-level-code

share improve this question Drepper's What Every Programmer Should Know About Memory pdf is a good reference to one aspect..

Visual Studio 2010 hangs when I debug method AttachThreadInput()

http://stackoverflow.com/questions/8075568/visual-studio-2010-hangs-when-i-debug-method-attachthreadinput

consequences. This is one of the Five Things Every Win32 Programmer Should Know I discussed back in 2005. AttachThreadInput means..