c++ Programming Glossary: experiments
Linking C++ code with 'gcc' (without g++) http://stackoverflow.com/questions/1001535/linking-c-code-with-gcc-without-g recognize the 'g ' or 'c ' for that matter command. In my experiments while I'm compiling gcc works well. Problem is when I try to..
Can I override a C++ virtual function within Python with Cython? http://stackoverflow.com/questions/10126668/can-i-override-a-c-virtual-function-within-python-with-cython
openCV mixing IplImage with cv::Mat http://stackoverflow.com/questions/11156019/opencv-mixing-iplimage-with-cvmat theimage.deallocate maybe this is wrong. I have made some experiments and when I release the Mat object theimage.release the IplImage..
Why is transposing a matrix of 512x512 much slower than transposing a matrix of 513x513? http://stackoverflow.com/questions/11413855/why-is-transposing-a-matrix-of-512x512-much-slower-than-transposing-a-matrix-of transposing a matrix of 513x513 After conducting some experiments on square matrices of different sizes a pattern came up. Invariably..
Difference in using read/write when stream is opened with/without ios::binary mode http://stackoverflow.com/questions/12766636/difference-in-using-read-write-when-stream-is-opened-with-without-iosbinary-mo when stream is opened with without ios binary mode In my experiments with the following code snippet I did not find any particular..
what are the fast algorithms to find duplicate elements in a collection and group them? http://stackoverflow.com/questions/1332527/what-are-the-fast-algorithms-to-find-duplicate-elements-in-a-collection-and-grou j i second.end j do something with j I performed some experiments for comparison and object counts. In a test with 100000 objects..
Real numbers - how to determine whether float or double is required? http://stackoverflow.com/questions/13620481/real-numbers-how-to-determine-whether-float-or-double-is-required significant effort to halve their size do analysis and experiments to decide whether a 32 bit type gives good enough results and..
Random Engine Differences http://stackoverflow.com/questions/16536617/random-engine-differences to compute large series of numbers such as in Monte Carlo experiments with an almost uniform distribution in the range. The engine..
DLL redirection using manifests http://stackoverflow.com/questions/2100973/dll-redirection-using-manifests the kernel32.dll to your dummy. Fun. All this describes my experiments on Windows Xp Sp2. For extra fun I'm led to believe manifests..
How slow are bit fields in C++ http://stackoverflow.com/questions/2638015/how-slow-are-bit-fields-in-c both cases. To know which is really best run a few simple experiments. But don't be surprised if the results are inconclusive that's..
How does dereferencing of a function pointer happen? http://stackoverflow.com/questions/2795575/how-does-dereferencing-of-a-function-pointer-happen And you can do this as many times as you like. Two similar experiments you can try What happens if you dereference a function pointer..
How to pass a pointer to a member function to a C function? [duplicate] http://stackoverflow.com/questions/3108631/how-to-pass-a-pointer-to-a-member-function-to-a-c-function be passed to a C function. Is there a way to fix this. My experiments with boost bind which I hardly manage to use other than trial..
Copy or reference semantics of boost::spirit's rule<>? http://stackoverflow.com/questions/3470668/copy-or-reference-semantics-of-boostspirits-rule just use the rule in a definition of another rule. From my experiments I found mutually recursive rules can be defined by rule Iter..
Android NDK R5 and support of C++ exception http://stackoverflow.com/questions/4663291/android-ndk-r5-and-support-of-c-exception . But it dies the same horrific death as my own experiments. I have managed to get a minimal example of code that is crashing..
How do boost::variant and boost::any work? http://stackoverflow.com/questions/4988939/how-do-boostvariant-and-boostany-work I queried the size of any and variant and did some experiments with them. In my platform variant takes the size of its longest..
How can std::make_heap be implemented while making at most 3N comparisons? http://stackoverflow.com/questions/6299859/how-can-stdmake-heap-be-implemented-while-making-at-most-3n-comparisons requires that at most 3n comparisons are used From my experiments see code below it appears that actually less than 2n comparisons..
Why is the base class method called if the derived class overrides the method? http://stackoverflow.com/questions/6308653/why-is-the-base-class-method-called-if-the-derived-class-overrides-the-method of Derived . Now lets unhide Base foo and do some more experiments. class Derived public Base public using Base foo this unhides..
invalid use of incomplete type http://stackoverflow.com/questions/652155/invalid-use-of-incomplete-type is the output I get sean@SEAN PC ~ Documents LucadeStudios experiments g o test test.cpp test.cpp In instantiation of ˜A B test.cpp..
How to programmatically clear the filesystem memory cache in C++ on a Linux system? http://stackoverflow.com/questions/6818606/how-to-programmatically-clear-the-filesystem-memory-cache-in-c-on-a-linux-syst where I want to clear the filesystem memory cache between experiments. I'm aware of the following console commands sync echo 3 proc..
|