¡@

Home 

c++ Programming Glossary: bugs

Finding current executable's path without /proc/self/exe

http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe

path from argv 0 PATH and whatnot risking finding bugs in edge cases c c linux osx executable share improve this..

What's “wrong” with C++ wchar_t and wstrings? What are some alternatives to wide characters?

http://stackoverflow.com/questions/11107608/whats-wrong-with-c-wchar-t-and-wstrings-what-are-some-alternatives-to-wide

code unit representations in UTF 8 are more common and so bugs in code handling such variable width representations of characters..

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

that helps . As a result it was the source of many bugs as programmers are less perfect in their analysis than compilers..

What does the explicit keyword in C++ mean?

http://stackoverflow.com/questions/121162/what-does-the-explicit-keyword-in-c-mean

do this is to avoid accidental construction that can hide bugs. Contrived example You have a MyString int size class with a..

How to create minidump for my process when it crashes?

http://stackoverflow.com/questions/1547211/how-to-create-minidump-for-my-process-when-it-crashes

useless. Also without experience heap stack corruption bugs will lead you astray. However if the optimizer was not too hard.. class of errors where the dumps do help namely all the bugs where having a stack trace values of the locally used variables..

Most effective way for float and double comparison

http://stackoverflow.com/questions/17333/most-effective-way-for-float-and-double-comparison

all depends on context. I have spent a long time tracing a bugs in a system that presumed a b if a b epsion . The underlying..

What is segmentation fault?

http://stackoverflow.com/questions/2346806/what-is-segmentation-fault

corrupting the memory and introducing hard to debug memory bugs. Whenever you get a segfault you know you are doing something..

Examples of good gotos in C or C++

http://stackoverflow.com/questions/245742/examples-of-good-gotos-in-c-or-c

braces for free either and omitting them can cause vexing bugs . Anyway I won't waste any more of your brain power on this..

C++ Timer function to provide time in nano seconds

http://stackoverflow.com/questions/275004/c-timer-function-to-provide-time-in-nano-seconds

typically adjust for multiple processors bugs in the BIOS or drivers may result in these routines returning..

What is the copy-and-swap idiom?

http://stackoverflow.com/questions/3279543/what-is-the-copy-and-swap-idiom

code on self assignment and it protects us from subtle bugs such as deleting the array only to try and copy it . But in.. Because the idiom repeats no code we cannot introduce bugs within the operator. Note that this means we are rid of the..

When and why will an OS initialise memory to 0xCD, 0xDD, etc. on malloc/free/new/delete?

http://stackoverflow.com/questions/370195/when-and-why-will-an-os-initialise-memory-to-0xcd-0xdd-etc-on-malloc-free-new

constant odd large and atypical Non zero values help find bugs assuming zero filled data. Constant values are good so that.. good so that memory filling is deterministic to help make bugs reproducable . Of course it is bad if the constant filling of.. a bug. Mathematically odd numbers are good for finding bugs assuming a cleared lower bit. Large numbers byte values at least..

What techniques can be used to speed up C++ compilation times?

http://stackoverflow.com/questions/373142/what-techniques-can-be-used-to-speed-up-c-compilation-times

const references to non const references to avoid obscure bugs but this is an issue for another question. Guard Conditions..

Why 'this' is a pointer and not a reference?

http://stackoverflow.com/questions/645994/why-this-is-a-pointer-and-not-a-reference

this is constant and is therefore readonly. This prevents bugs and provides some level of guarantee to the caller that the..

Subclass/inherit standard containers?

http://stackoverflow.com/questions/6806173/subclass-inherit-standard-containers

in all three places which won't always happen which means bugs will take longer and not always get fixed... This is general..

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

of projects across many platforms show the majority of bugs are related to resource management and it's particularly bad..

What XML parser should I use in C++?

http://stackoverflow.com/questions/9387610/what-xml-parser-should-i-use-in-c

it can't be useful. But it does mean that if there are bugs in it you will have to fix them. You can still use it. Just..