c++ Programming Glossary: oo
What are the advantages of using Objective-C over C++ http://stackoverflow.com/questions/112702/what-are-the-advantages-of-using-objective-c-over-c what I can see Obj C has a basically different approach to OO in that it adds Smalltalk like messaging to C. Like C it's basically.. to C. Like C it's basically still C compatible but the OO extensions let you send any message to any object. In that sense.. Smalltalk. Whether it's a good idea to have this type of OO grafted onto C or not I can't tell yet in some ways the C approach..
What is a good OO C++ wrapper for sqlite http://stackoverflow.com/questions/120295/what-is-a-good-oo-c-wrapper-for-sqlite is a good OO C wrapper for sqlite I'd like to find a good object oriented..
Are C++ Templates just Macros in disguise? http://stackoverflow.com/questions/180320/are-c-templates-just-macros-in-disguise done. Now I'm trying to integrate templates deeper into my OO design and a nagging thought keeps coming back to me They're..
How to implement serialization in C++ http://stackoverflow.com/questions/1809670/how-to-implement-serialization-in-c class IDs is evil and an antipattern what's the standard OO way of handling serialization in C c design patterns serialization..
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 const MyCollection c etc... A more OO way of doing it typedef std vector MyObject MyCollection class..
Why does C# not provide the C++ style 'friend' keyword? http://stackoverflow.com/questions/203616/why-does-c-sharp-not-provide-the-c-style-friend-keyword classes and undermines some fundamental attributes of an OO language. That being said it is a nice feature and I've used.. like to use it in C# too. But I bet because of C#'s pure OOness compared to C 's pseudo OOness MS decided that because Java.. I bet because of C#'s pure OOness compared to C 's pseudo OOness MS decided that because Java has no friend keyword C# shouldn't..
Why would someone use C instead of C++? [duplicate] http://stackoverflow.com/questions/2326958/why-would-someone-use-c-instead-of-c but then jumped straight into C simply because it supports OO and was also required for subsequent work. However some companies..
Printing values of all fields in C++ structure http://stackoverflow.com/questions/2758937/printing-values-of-all-fields-in-c-structure to run time. As the example demonstrated in your link the BOOST_FUSION_ADAPT_STRUCT macro allows you to take a standard struct.. system however Metaprogramming does not mesh well with OO programming. struct Base char a Adapt struct Derived Base char..
How to expose std::vector<int> as a Python list using SWIG? http://stackoverflow.com/questions/276769/how-to-expose-stdvectorint-as-a-python-list-using-swig obj0 0 PyObject obj1 0 if PyArg_ParseTuple args char OO IntVector_erase &obj0 &obj1 SWIG_fail res1 SWIG_ConvertPtr obj0..
Code refactoring http://stackoverflow.com/questions/3777016/code-refactoring code base UMLStudio Creating an object model for your OO legacy code is the best approach to analysing understanding.. convert C Java CORBA IDL PHP 5 and Ada 95 code into OOA D notation faster than any other CASE tool. CodeDrawer for..
Is it good practice to make member variables protected? http://stackoverflow.com/questions/3933006/is-it-good-practice-to-make-member-variables-protected question Encapsulation is one of the main features of OO. Encapsulating your data in classes means that users of the..
How can I read and manipulate CSV file data in C++? http://stackoverflow.com/questions/415515/how-can-i-read-and-manipulate-csv-file-data-in-c other data formats such as bulk SQL import export Excel OO spreadsheet files or even an HTML table rendering. Your memory..
When to use virtual destructors? http://stackoverflow.com/questions/461203/when-to-use-virtual-destructors virtual destructors I have a solid understanding of most OO theory but the one thing that confuses me a lot is virtual destructors...
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 lucky in my engineering courses to..
Effective C++ Item 23 Prefer non-member non-friend functions to member functions http://stackoverflow.com/questions/5989734/effective-c-item-23-prefer-non-member-non-friend-functions-to-member-functions have to repeat it in a dozen different places. The classic OO mindset is increasingly bad at handling dependencies. By having..
Why should one not derive from c++ std string class? http://stackoverflow.com/questions/6006860/why-should-one-not-derive-from-c-std-string-class However in C classes are value types unlike in most other OO languages. The easiest way to see this is what's known as the..
Replace giant switch statement with what? http://stackoverflow.com/questions/659581/replace-giant-switch-statement-with-what exists with any language. It's more about algorithms and OO design I guess. Only important thing is that this must be compiled..
What are the differences between struct and class in C++ http://stackoverflow.com/questions/92859/what-are-the-differences-between-struct-and-class-in-c as well as reasons for choosing one or the other in OO design. I'll start with an obvious difference If you don't specify..
What are the distinctions between the various symbols (*,&, etc) combined with parameters? [duplicate] http://stackoverflow.com/questions/9636903/what-are-the-distinctions-between-the-various-symbols-etc-combined-with-p I'm extremely familiar with general programming concepts OO generics templates etc. just not the notation used in C C ...
|