#define APPDIR "./" #define USERDIR APPDIR #define DIR_CFG USERDIR"cfg/" FILE *fp = fopen(USERDIR"session.ids","r");