From: Waldemar Schultz Newsgroups: comp.os.msdos.djgpp Subject: Preprocessor # ## Date: Wed, 18 Oct 2000 14:13:16 +0200 Organization: [posted via] Leibniz-Rechenzentrum, Muenchen (Germany) Lines: 17 Message-ID: <39ED93DC.6C3ACD2F@ma.tum.de> NNTP-Posting-Host: pcritter10.mathematik.tu-muenchen.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: wsc10.lrz-muenchen.de 971871242 3898 131.159.69.74 (18 Oct 2000 12:14:02 GMT) X-Complaints-To: news AT lrz-muenchen DOT de NNTP-Posting-Date: 18 Oct 2000 12:14:02 GMT X-Mailer: Mozilla 4.73 [de]C-CCK-MCD DT (Win98; U) X-Accept-Language: de,en,en-US To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com silly question, but I don't manage to fix it. given long double sinlong(long double); #define sinr(x) sinlong(x) #define ACTUAL_NAME(s) ...???... ^^^^^^^^^^ fill in please printf("sinr(x)=%s\n",ACTUAL_NAME(sinr(x)); should print: sinr(x)=sinlong(x) Thanks for any pointer. (I read a thread about # and ## long ago, but I can't find it) -- Gruss Waldemar Schultz. Technische Universität München, Zentrum Mathematik M1, D 80290 München Tel: +49 (0)89 2892 8226 FAX: +49 (0)89 2892 8228