c++ Programming Glossary: seem
Finding current executable's path without /proc/self/exe http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe current executable's path without proc self exe It seems to me that Linux has it easy with proc self exe. But I'd like.. some projects mucking around with argv 0 but it doesn't seem entirely reliable. If you ever had to support say Mac OS X which..
Is gcc4.7 buggy about regular expressions? [duplicate] http://stackoverflow.com/questions/12530406/is-gcc4-7-buggy-about-regular-expressions but I don't know details or its status. There doesn't seem to be much demand for the code probably because anyone who wants..
Using std Namespace http://stackoverflow.com/questions/1265039/using-std-namespace std Namespace There seem to be different views on using 'using' with respect to the std.. something else in algorithm or it's been pulled in by a seemingly unrelated header. #include algorithm using namespace std..
Visual Studio support for new C / C++ standards? http://stackoverflow.com/questions/146381/visual-studio-support-for-new-c-c-standards MS COMPILER you can still use the MS IDE that you seem to think has some kind of value and use C99 to your hearts content...
Default constructor with empty brackets http://stackoverflow.com/questions/180172/default-constructor-with-empty-brackets ctor MyObject object blah ok MyObject object error I seem to type automatically everytime. Is there a good reason this..
Variable length arrays in C++? http://stackoverflow.com/questions/1887097/variable-length-arrays-in-c int n int values n Declare a variable length array This seems like a pretty useful feature does anyone now if there was ever.. Why no VLAs in C 0x . I agree with those people that seem to agree that having to create a potential large array on the..
How do you reverse a string in place in C or C++? http://stackoverflow.com/questions/198199/how-do-you-reverse-a-string-in-place-in-c-or-c chart Also UTF 8 over 0x10000 is untested as I don't seem to have any font for it nor the patience to use a hexeditor..
Is it okay to inherit implementation from STL containers, rather than delegate? http://stackoverflow.com/questions/2034916/is-it-okay-to-inherit-implementation-from-stl-containers-rather-than-delegate at etc... and standard algorithms on the container. This seems to be a reoccurring pattern for me in my designs class MyContainer.. public detail MyObjectBase ... The boost libraries seem to do this stuff all the time. Edit 2 One of the suggestions..
Why is volatile not considered useful in multithreaded C or C++ programming? http://stackoverflow.com/questions/2484980/why-is-volatile-not-considered-useful-in-multithreaded-c-or-c-programming As demonstrated in this answer I recently posted I seem to be confused about the utility or lack thereof of volatile..
Dynamically allocating an array of objects http://stackoverflow.com/questions/255612/dynamically-allocating-an-array-of-objects must be terribly wrong I guess there are a few fixes that seem like overkill which I'm hoping to avoid Creating a copy constructor..
C++/CLI Mixed Mode DLL Creation http://stackoverflow.com/questions/2691325/c-cli-mixed-mode-dll-creation as mixed mode but I was apparently wrong as VS doesn't seem to be even touching the managed code. So given a pre existing..
Regular cast vs. static_cast vs. dynamic_cast http://stackoverflow.com/questions/28002/regular-cast-vs-static-cast-vs-dynamic-cast i.e. MyClass m MyClass ptr all over the place but there seem to be two other types of casts and I don't know the difference...
Should I use static_cast or reinterpret_cast when casting a void* to whatever http://stackoverflow.com/questions/310451/should-i-use-static-cast-or-reinterpret-cast-when-casting-a-void-to-whatever a void to whatever Both static_cast and reinterpret_cast seem to work fine for casting void to another pointer type. Is there..
How do you declare an interface in C++? http://stackoverflow.com/questions/318064/how-do-you-declare-an-interface-in-c the interface doesn't have any concrete members. It might seem contradictory to define a function as both virtual and inline..
What is the copy-and-swap idiom? http://stackoverflow.com/questions/3279543/what-is-the-copy-and-swap-idiom what if my class manages more than one While this may seem to be a valid concern and indeed it requires non trivial try..
Which, if any, C++ compilers do tail-recursion optimization? http://stackoverflow.com/questions/34125/which-if-any-c-compilers-do-tail-recursion-optimization if any C compilers do tail recursion optimization It seems to me that it would work perfectly well to do tail recursion.. optimization in both C and C yet while debugging I never seem to see a frame stack that indicates this optimization. That..
What are the barriers to understanding pointers and what can be done to overcome them? http://stackoverflow.com/questions/5727/what-are-the-barriers-to-understanding-pointers-and-what-can-be-done-to-overcome and rearrange the furniture at that house will make it seem that the other house has been modified in the same manner unless..
WChars, Encodings, Standards and Portability http://stackoverflow.com/questions/6300804/wchars-encodings-standards-and-portability wrapper for Windows . File systems File systems don't seem to have any notion of encoding and simply take any null terminated.. from the filenames that are actually used and that two seemingly different filenames may represent the same file. After..
OpenCV 2.3 C++ Visual Studio 2010 http://stackoverflow.com/questions/7011238/opencv-2-3-c-visual-studio-2010 2.3 on Visual Studio 2010 Express since a lot of folks seem to have problems setting it up correctly. Download OpenCV 2.3.0..
A free tool to check C/C++ source code against a set of coding standards? [closed] http://stackoverflow.com/questions/93260/a-free-tool-to-check-c-c-source-code-against-a-set-of-coding-standards to find such a tool for Java Checkstyle JCSC but I can't seem to find one for C C . I am not looking for a lint like static..
|