I need a list of all available preprocessor directives in C.

Recommended Answers

Considering you can write your own that list would be quite large.

Jump to Post

All 2 Replies

Considering you can write your own that list would be quite large.

There is no exhaustive list, because each compiler system + OS has their own.
There are common, standard ones, though.
Here's the GNU CPP's documentation.

Hope this helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.