Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22137

What does "%:" (percent colon) mean in C? [duplicate]

$
0
0

This question already has an answer here:

In one of my courses I've been given this cryptic c code.

%:define BBRACE (
%:define BRACEE )
%:define CCURLY_BRACE {
%:define CURLY_BRACEE }
%:define SEMICOLON ;
%:define COMMA ,
int main BBRACE int argc COMMA char *argv<::> BRACEE CCURLY_BRACE return 1^2^3^4^5^6^7 SEMICOLON CURLY_BRACEE

Its not that complicated but I've never seen %:define ... is there any difference to #define ...? I found nothing about %:online.

Same goes with char *argv<::> but I don't know if this really deserves a second question.


Viewing all articles
Browse latest Browse all 22137

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>