Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [c-preprocessor]

the macro preprocessor for the C and C++ computer programming languages.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers

How initialise and uninitialise serial based on the user's input?

In Summary. If the argument is true, I want to create a function that prints the necessary stuff into the serial. However, if its false serial is uninitialised and does not print anything, it only ...
Andrew's user avatar
  • 11
-1 votes
1 answer

Char Array in PreProcessor

I need to define an array, that later on will be the name of a class, and will be pointed to. For example (in a non pre-processor way): const char *button_names[4]={"b0","b1","...
guyd's user avatar
  • 1,049