Category "preprocessor"

Write a macro function to change the case of a string?

// I tried this code #include<iostream> using namespace std; // Function to convert characters // of a string to opposite case #define case_change(s

Get architecture type (ABI) to C preprocessor for Android NDK

I'm trying to control my C code in an Android NDK project depending on the selected ABI library. As a start, I want the NDK library method to answer, with a st