Library design: allow user to decide between “header-only” and dynamically linked?

Preliminary note: I am assuming a Windows environment, but this should be easily transferable to other environments. Your library has to be prepared for four situations: Used as header-only library Used as static library Used as dynamic library (functions are imported) Built as dynamic library (functions are exported) So let’s make up four preprocessor defines … Read more

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