C++ g++ tips and info

Short cuts, info, extensions and cool online notebooks.

Example header file: file.h should go to /usr/include and /usr/lib. If you use the -l option (for the libraries) it should find them from these standard places. If you include using it should also get it from the right place.

sudo apt-get install apt-file
sudo apt-file update

Find a source for _mingw.h EXAMPLE:
root@d3d80dbbf463:/usr/include# apt-file find _mingw.h
c2hs-doc: /usr/share/doc/c2hs-doc/tests/bugs/issue-60/_mingw.h.gz
libopenimageio-dev: /usr/include/OpenImageIO/fstream_mingw.h
mingw-w64-common: /usr/share/mingw-w64/include/_mingw.h
mingw-w64-i686-dev: /usr/i686-w64-mingw32/include/_mingw.h
mingw-w64-x86-64-dev: /usr/x86_64-w64-mingw32/include/_mingw.h
portaudio19-doc: /usr/share/doc/portaudio19-doc/doc/html/compile_windows_mingw.html
seqan-dev: /usr/include/seqan/platform/platform_mingw.h