This section is aimed to help you start up using AFC in your own C projects. As you'll see, it is very simple. For compilation and installation, please refer to INSTALL/README files inside the AFC distribution.
To start writing AFC-based source, you have to add this single line to your #include directives:
#include <afc/afc.h> |
#include <afc/afcpp.h> |
A script is provided to help you compile your program. The script is called afc-config. The synopsis is:
afc-config [--libs] [--cflags] [--static] [--cpp] [--version] [--authors] [--contrib]
Options mimic the behaviours of gtk-config, so it should be quite easy to use. Please, refer to afc-command help for more info about it.