R
Ron
Following the C++ standard document (ISO/IEC 14882) a preprocessing
directive:
#include pp-tokens new-line
is permitted. So i can write
#include "myfile.h"
but i can use even an identifier writing:
#define MYFILE "myfile.h"
#include MYFILE
ok? Anyway i cannot see any example with multiple tokens (since the standard
offers this possibility). Please, can you show me one?
I'm wondering if is correct what follows :
#define MYFILEA "my
#define MYFILEB file.h"
#include MYFILEA\
MYFILEB
I think it's wrong, but i cannot see another way.
Regards.
directive:
#include pp-tokens new-line
is permitted. So i can write
#include "myfile.h"
but i can use even an identifier writing:
#define MYFILE "myfile.h"
#include MYFILE
ok? Anyway i cannot see any example with multiple tokens (since the standard
offers this possibility). Please, can you show me one?
I'm wondering if is correct what follows :
#define MYFILEA "my
#define MYFILEB file.h"
#include MYFILEA\
MYFILEB
I think it's wrong, but i cannot see another way.
Regards.