applications of " ## " operators

M

mail2sandeepnl

hi all

what are the applications / examples that requires concatenation of 2
pre-processor variables.
i.e applications of " ## " operator
i think its only used Compiler design, but how i don't know,
is there any other use of this "##" operator ?

bye
sandeep
 
I

Ian Collins

hi all

what are the applications / examples that requires concatenation of 2
pre-processor variables.
i.e applications of " ## " operator
i think its only used Compiler design, but how i don't know,
is there any other use of this "##" operator ?
You'll get the same answers here as you got on c.l.c.
 
V

vijay

hi all

what are the applications / examples that requires concatenation of 2
pre-processor variables.
i.e applications of " ## " operator
i think its only used Compiler design, but how i don't know,
is there any other use of this "##" operator ?

bye
sandeep

sandeep,

you can check out pci linux driver code. look into the file access.c.
you will be surprised to see the elegancy of the usage of ##.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,201
Messages
2,571,052
Members
47,656
Latest member
rickwatson

Latest Threads

Top