How to use OpenSSL with Visual Studio [closed]

I know it’s old! I faced the problem myself and here’s the solution. First of all, you should install (normal ordinary installation) openssl. (It’s from here). Now, after you create a project, I quote: Make sure the following settings are setup in the project property pages: [C/C++ -> General -> Additional Include Directories] value: OpenSSL’s … Read more

Making small haskell executables?

With the development branch of GHC (anyone know exactly which version this was added in?): $ ghc -o hello hello.hs $ strip -p –strip-unneeded –remove-section=.comment -o hello-small hello $ du hello hello-small 700 hello 476 hello-small Add the -dynamic flag for a dynamically linked RTS: $ ghc -dynamic -o hello hello.hs $ strip -p –strip-unneeded … Read more

How does C++ linking work in practice? [duplicate]

EDIT: I have moved this answer to the duplicate: https://stackoverflow.com/a/33690144/895245 This answer focuses on address relocation, which is one of the crucial functions of linking. A minimal example will be used to clarify the concept. 0) Introduction Summary: relocation edits the .text section of object files to translate: object file address into the final address … Read more

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