When installing openssl using brew, a part of the response is outputted:
For compilers to find openssl you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
and the following could be used to compile a C++ file.
g++ file.cpp -I/usr/local/opt/openssl/include
What is the -I and the -L for?