-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsample.cpp
More file actions
17 lines (13 loc) · 442 Bytes
/
sample.cpp
File metadata and controls
17 lines (13 loc) · 442 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This file is a "Hello, world!" in CPP(C Preprocessor) by gcc for wandbox.
#if __has_include(<boost/preprocessor.hpp>)
#include <boost/preprocessor.hpp>
#endif
#include "test.h"
#define Hello 40
#define Wandbox 2
BOOST_PP_ADD(Hello, Wandbox)
// C Preprocessor references:
// https://gcc.gnu.org/onlinedocs/cpp/
// http://www.open-std.org/jtc1/sc22/wg21/
// Boost.Preprocessor reference:
// http://www.boost.org/libs/preprocessor/