¡@

Home 

c++ Programming Glossary: personally

Why Switch/Case and not If/Else If?

http://stackoverflow.com/questions/1028437/why-switch-case-and-not-if-else-if

has to be put on not dropping break's and so on... Personally I avoid using them and I wonder wether I'm missing something..

How to retrieve all keys (or values) from a std::map?

http://stackoverflow.com/questions/110157/how-to-retrieve-all-keys-or-values-from-a-stdmap

v BOOST_FOREACH me m v.push_back me.first cout me.first n Personally I like the BOOST_FOREACH version because there is less typing..

Use of 'const' for function parameters

http://stackoverflow.com/questions/117293/use-of-const-for-function-parameters

const bool b my_val_ b Is that const actually useful Personally I opt to use it extensively including parameters but in this..

What are the most widely used C++ vector/matrix math/linear algebra libraries, and their cost and benefit tradeoffs?

http://stackoverflow.com/questions/1380371/what-are-the-most-widely-used-c-vector-matrix-math-linear-algebra-libraries-a

in some cases. Ported from Fortran with odd API for usage. Personally for me it comes down to a single question how are you planning..

static const vs #define

http://stackoverflow.com/questions/1637332/static-const-vs-define

for each method c share improve this question Personally I loathe the preprocessor so I'd always go with const. The main..

When should functions be member functions?

http://stackoverflow.com/questions/1638394/when-should-functions-be-member-functions

you certainly can do anything with the public interface. Personally I don't think that should be exploited I think it should be..

C++: what regex library should I use?

http://stackoverflow.com/questions/181624/c-what-regex-library-should-i-use

to become part of the C 0x standard it's already in TR1 . Personally I find Boost.Xpressive much nicer to work with. It is a header..

How do I start a new CUDA project in Visual Studio 2008?

http://stackoverflow.com/questions/2046228/how-do-i-start-a-new-cuda-project-in-visual-studio-2008

supports the latest compiler flags in a friendly manner. Personally I would advise against using the VS wizard but only because.. supports the latest compiler flags in a friendly manner. Personally I would advise against using the VS wizard but only because..

What are the rules about using an underscore in a C++ identifier?

http://stackoverflow.com/questions/228783/what-are-the-rules-about-using-an-underscore-in-a-c-identifier

that end with '_t' are reserved for additional type names. Personally I just don't start identifiers with underscores. New addition..

Difference between static and shared libraries?

http://stackoverflow.com/questions/2649334/difference-between-static-and-shared-libraries

run time loading costs. The code is simply there. Personally I prefer shared libraries but use static libraries when needing..

Public Data members vs Getters, Setters

http://stackoverflow.com/questions/2977007/public-data-members-vs-getters-setters

thing or imaginary thing perhaps in the case of game . Personally getters setters are the lesser of two evils. Because once you..

Stack,Static and Heap in C++

http://stackoverflow.com/questions/408670/stack-static-and-heap-in-c

deallocate in constant time without garbage collection. Personally when I hear people say that C doesn't have garbage collection..

Class vs Struct for data only?

http://stackoverflow.com/questions/431429/class-vs-struct-for-data-only

structs default to public classes default to private . Personally I tend to prefer structs for POD types and use classes for everything..

return statement vs exit() in main()

http://stackoverflow.com/questions/461449/return-statement-vs-exit-in-main

main Should I use exit or just return statements in main Personally I favor the 'return' statements 'cause I feel it's like reading..

Const before or const after?

http://stackoverflow.com/questions/5503352/const-before-or-const-after

is which side of the asterisk you put the const keyword. Personally I prefer to put const on the left of the type to specify it's..

Subclass/inherit standard containers?

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

I often read this statements on Stack Overflow. Personally I don't find any problem with this unless I am using it in a..

casting unused return values to void

http://stackoverflow.com/questions/689677/casting-unused-return-values-to-void

value since self documenting code is better than comments. Personally I'll turn these warnings off since it's unnecessary noise. I'll..

Can standard container templates be instantiated with incomplete types?

http://stackoverflow.com/questions/8329826/can-standard-container-templates-be-instantiated-with-incomplete-types

stl incomplete type share improve this question Personally I feel the wording instantiating in 17.6.4.8 2 is a little ambiguous..

Obfuscating C/C++ Code [closed]

http://stackoverflow.com/questions/1025494/obfuscating-c-c-code

that wants to obfuscate their C C code none the less I personally don't understand why I have just been made responsible to implement..

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

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

your room and no one is watching. Some say that they will personally come to your house and kill you if you use it. I myself am a..

Use of 'const' for function parameters

http://stackoverflow.com/questions/117293/use-of-const-for-function-parameters

It's probably bad style to do this a lot though. I personally tend to not use const except for reference and pointer parameters...

Reason why not to have a DELETE macro for c++

http://stackoverflow.com/questions/1265666/reason-why-not-to-have-a-delete-macro-for-c

may be some odd way you can break the #define system but personally And this is probably going to get me groaned I don't think its..

Conversion constructor vs. conversion operator: precedence

http://stackoverflow.com/questions/1384007/conversion-constructor-vs-conversion-operator-precedence

practice that suggests this should be the case To me personally it would make sense either way so I'm interested to know how.. practice that suggests this should be the case To me personally it would make sense either way so I'm interested to know how..

Directory structure for C++ library

http://stackoverflow.com/questions/1398445/directory-structure-for-c-library

to this structure at all. There's no hard and fast rule. I personally don't organize things this way. I avoid using a . src directory..

What am I allowed to do with a static, constexpr, in-class initialized data member?

http://stackoverflow.com/questions/14547986/what-am-i-allowed-to-do-with-a-static-constexpr-in-class-initialized-data-memb

validity of this answer I honestly dislike it because I personally find it too cryptic so I tried to work out a more meaningful..

Declaring and initializing a variable in a Conditional or Control statement in C++

http://stackoverflow.com/questions/1516919/declaring-and-initializing-a-variable-in-a-conditional-or-control-statement-in-c

doesn't seem you can find a way to comply unfortunately. I personally think it's good practice to keep the local variables as close..

C++: std::string in a multi-threaded program

http://stackoverflow.com/questions/1661154/c-stdstring-in-a-multi-threaded-program

forgo COW. Or shudder I could use a custom string class. I personally always rail against developers who implement their own classes..

When should you use 'friend' in C++?

http://stackoverflow.com/questions/17434/when-should-you-use-friend-in-c

the C FAQ and was curious about the friend declaration. I personally have never used it however I am interested in exploring the..

Do you use NULL or 0 (zero) for pointers in C++?

http://stackoverflow.com/questions/176989/do-you-use-null-or-0-zero-for-pointers-in-c

a null pointer but those around me insist on using NULL. I personally do not see any benefit to giving a name NULL to an existing..

What's a very easy C++ profiler (VC++)?

http://stackoverflow.com/questions/2624667/whats-a-very-easy-c-profiler-vc

point. It's VC 2008 we're using I run standard edition personally . I don't suppose there are any tools in the IDE for this I.. Otherwise check this thread . Creating your own easily I personally use an internally built one based on the Win32 API QueryPerformanceCounter..

Access C++ shared library from Java: JNI, JNA, CNI, or SWIG?

http://stackoverflow.com/questions/3720563/access-c-shared-library-from-java-jni-jna-cni-or-swig

in either can result in unexpected runtime behavior. I personally would use JNA unless the interface is complex enough to make..

int vs const int&

http://stackoverflow.com/questions/4705593/int-vs-const-int

optimizer that word is there only to help programmers I'm personally not so sure it's such a big help but that's another story ...

Do built-in types have default constructors?

http://stackoverflow.com/questions/5113365/do-built-in-types-have-default-constructors

C 98 and C 03 What do you guys think EDIT I asked Bjarne personally via mail regarding the flawed text in TC PL and this was his..

Why was std::pow(double, int) removed from C++11?

http://stackoverflow.com/questions/5627030/why-was-stdpowdouble-int-removed-from-c11

or may be implemented with restricted templates. I've personally implemented it both ways and strongly favor the restricted template..

Have you used any of the C++ interpreters (not compilers)?

http://stackoverflow.com/questions/69539/have-you-used-any-of-the-c-interpreters-not-compilers

didn't seem to want to post here igcc . Never tried it personally but the web page looks promising. share improve this answer..

Why isn't there a std::shared_ptr<T[]> specialisation?

http://stackoverflow.com/questions/8947579/why-isnt-there-a-stdshared-ptrt-specialisation

anew on this topic among a few LWG members and I have personally prototyped it. But there is still no written proposal for it...