M
mlt
I have a header only library containing various .h files. One of the header
files, all.h, includes all the other header files. When I include all.h I
therefore get all the other header files.
all.h looks like this:
#include <header1.h>
#include <header2.h>
#include <header3.h>
#include <header4.h>
When I include the all.h in my application:
#include "all.h"
I get an error that header1.h cannot be found. But if I change all.h to:
#include "header1.h"
#include "header2.h"
#include "header3.h"
#include "header4.h"
I works fine. But I don't want to change all.h, so how do I use all.h
unchanged (with <> instead of "")??
files, all.h, includes all the other header files. When I include all.h I
therefore get all the other header files.
all.h looks like this:
#include <header1.h>
#include <header2.h>
#include <header3.h>
#include <header4.h>
When I include the all.h in my application:
#include "all.h"
I get an error that header1.h cannot be found. But if I change all.h to:
#include "header1.h"
#include "header2.h"
#include "header3.h"
#include "header4.h"
I works fine. But I don't want to change all.h, so how do I use all.h
unchanged (with <> instead of "")??