Article View: pl.comp.objects
Article #15799Re: Długie makro
From: Mariusz Lotko
Date: Sat, 03 Mar 2007 11:15
Date: Sat, 03 Mar 2007 11:15
14 lines
1061 bytes
1061 bytes
Marcin O. wrote: > Witam, > > Mam do zdefiniowania długie makro w C++ pod VS2005. Jak mozna złamać makro > na swie linijki? > > #define (a, b, c, d, e, f, g, h, i, j, k, l) a * (b+1) * (c+2) * > (d+3) * (e+4) * (f+5) * (g+6) * (h+7) * (i+8) * (j+9) * (k+10) * (l*11) Lepiej użyj funkcji inline. -- Mariusz Lotko
Technical Details
Message-ID:
<esbl0j$4ii$1@bandai.magma-net.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.magma-net.pl!not-for-mailReferences:
<es7lm1$3qr$1@news.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.magma-net.pl!not-for-mail From: Mariusz Lotko <imie.nazwisko@wp.pl> Newsgroups: pl.comp.objects Subject: Re: Długie makro Date: Sat, 03 Mar 2007 12:15:05 +0100 Organization: Magma Systemy Komputerowe Lines: 15 Message-ID: <esbl0j$4ii$1@bandai.magma-net.pl> References: <es7lm1$3qr$1@news.onet.pl> NNTP-Posting-Host: 192.168.21.22 Mime-Version: 1.0 X-Trace: bandai.magma-net.pl 1172920147 4690 192.168.21.22 (3 Mar 2007 11:09:07 GMT) X-Complaints-To: usenet@news.magma-net.pl NNTP-Posting-Date: Sat, 3 Mar 2007 11:09:07 +0000 (UTC) User-Agent: KNode/0.10.4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit