home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!ucbvax!ROUTH.KOSUFY.LU.SE!KOSU_MATSB
- From: KOSU_MATSB@ROUTH.KOSUFY.LU.SE
- Newsgroups: comp.lang.c
- Subject: Concatenation of two macros?
- Message-ID: <1FE7B81211DF800725@ursula.lucas.lu.se>
- Date: 23 Jul 92 12:00:50 GMT
- Sender: usenet@ucbvax.BERKELEY.EDU
- Lines: 18
- X-Unparsable-Date: Thu, 23 Jul 92 13:57 GMT+02
-
-
- Concatenation of two macros. Is it possible?
-
- If i have the following two definitions:
- #define A pre
- #define B post
- And want to "#define C" to be "prepost" BUT as an
- expression of A and B! How do i do it?
- #define C (expression of A and B to yield prepost)
-
- Sincerely/Mats B.
- ----------------------------------- -----------------------------------
- Mats Bergstrvm mats.bergstrom@kosufy.lu.se
- Div of Cosmic and Subatomic Physics kosu_matsb@130.235.92.17
- Department of Physics ROUTH::KOSU_MATSB (ROUTH::=57412::)
- University of Lund Phone: (+46)104767
- SWEDEN. Fax: (+46)104709
- ----------------------------------- -----------------------------------
-