Why does the standard C++ library use all lower case?

Main reason : To keep compatibility with the existing code, since they have done it with C also. Also have a look at these C++ Coding standards, which presents some generic reasoning regarding the importance of convention. These links discusses about the naming conventions of C/C++ Standard Library. Naming Convention for C API C/C++ Library … Read more

C++ type suffix _t, _type or none

As @MarcoA.’s answer correctly points out, the suffix _t is largely inherited from C (and in the global namespace – reserved for POSIX). This leaves us with “no suffix” and _type. Notice that there is no namespace-scope name in std ending in _type*; all such names are members of classes and class templates (or, in … Read more

Is reading app.config expensive?

I’m sure that all configuration files(web.config or app.config) are cached by default, so you don’t need to create a static class that holds all values or be afraid that the files are accessed permanently. Here is some reading: Web.Config is Cached ConfigurationManager.RefreshSection Method Application Configuration Files Explained ASP.NET Configuration Overview Regarding to your requirement to … Read more

How do you decide whether to use a library or write your own implementation

General Decision Before deciding on what to use, I will create a list of criteria that must be met by the library. This could include size, simplicity, integration points, speed, problem complexity, dependencies, external constraints, and license. Depending on the situation the factors involved in making the decision will differ. Generally, I will hunt for … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)