⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 faqcatccbd.html

📁 this is a mirrored site c-faq. thought might need offline
💻 HTML
📖 第 1 页 / 共 3 页
字号:
comp.lang.c FAQ list<font color=blue>&middot;</font><a href="../../resources/ansiavail.html"><!-- qtag -->Question 18.13c</a></h1><p><font face=Helvetica size=8 color=blue><b>Q:</b></font>Where can I get a copy of the ANSI/ISO C Standard?</p><p><hr><p><font face=Helvetica size=8 color=blue><b>A:</b></font>See question <a href="faqcat7d4b.html?sec=ansi#avail">11.2</a>.<hr><hr><hr><a name="expreval"><h1>comp.lang.c FAQ list<font color=blue>&middot;</font><a href="../../resources/expreval.html"><!-- qtag -->Question 18.14</a></h1><p><font face=Helvetica size=8 color=blue><b>Q:</b></font>I need code to parse and evaluateexpressions.</p><p><hr><p><font face=Helvetica size=8 color=blue><b>A:</b></font>Twoavailable packages are``defunc,''posted to comp.sources.misc in December, 1993 (V41 i32,33),to alt.sources in January, 1994,andavailable fromsunsite.unc.eduinpub/packages/development/libraries/defunc-1.3.tar.Z,and``parse,''at lamont.ldgo.columbia.edu.Other options includethe S-Lang interpreter,availablevia anonymous ftp from amy.tch.harvard.edu in pub/slang,and the shareware Cmm(``C-minus-minus'' or``C minus the hard stuff'').See also questions <a href="faqcatccbd.html?sec=resources#sources">18.16</a>and <a href="faqcat38c2.html?sec=misc#symtab">20.6</a>.</p><p>There is also some parsing/evaluation code in<I>Software Solutions in C</I>(chapter 12, pp. 235-55).<hr><hr><hr><a name="grammars"><h1>comp.lang.c FAQ list<font color=blue>&middot;</font><a href="../../resources/grammars.html"><!-- qtag -->Question 18.15</a></h1><p><font face=Helvetica size=8 color=blue><b>Q:</b></font>Where can I get a BNF orYACC grammar for C?</p><p><hr><p><font face=Helvetica size=8 color=blue><b>A:</b></font>The definitive grammar is of course the one in theANSI standard;see question <a href="faqcat7d4b.html?sec=ansi#avail">11.2</a>.Another grammarby Jim Roskindisavailableat ftp.eskimo.comin <a href="ftp://ftp.eskimo.com/u/s/scs/roskind_grammar.Z"><TT>u/s/scs/roskind_grammar.Z</TT></a>.A fleshed-out, working instance of the ANSI C90 grammar(due to Jeff Lee)ison ftp.uu.net (see question<a href="faqcatccbd.html?sec=resources#sources">18.16</a>)in usenet/net.sources/ansi.c.grammar.Z(including a companion lexer).<a href="../../resources/fn87.html" rel=subdocument>[footnote]</a>TheFSF's GNU C compiler contains a grammar, as doesthe appendix to K&amp;R2.</p><p>The comp.compilers archivescontain more information about grammars;see question <a href="faqcatccbd.html?sec=resources#compilers">18.3</a>.</p><p>References:K&amp;R1 Sec. A18 pp. 214-219<br>K&amp;R2 Sec. A13 pp. 234-239<br>ISO Sec. B.2<br>H&amp;S pp. 423-435 Appendix B<hr><hr><hr><a name="cctestsuite"><h1>comp.lang.c FAQ list<font color=blue>&middot;</font><a href="../../resources/cctestsuite.html"><!-- qtag -->Question 18.15b</a></h1><p><font face=Helvetica size=8 color=blue><b>Q:</b></font>Does anyone have a C compiler test suite I can use?</p><p><hr><p><font face=Helvetica size=8 color=blue><b>A:</b></font>Plum Hall(formerly in Cardiff, NJ; now in Hawaii)sells one;other packages areRonald Guilmette'sRoadTest(tm) Compiler Test Suites(ftp to netcom.com, pub/rfg/roadtest/announce.txt for information)andNullstone's Automated Compiler Performance Analysis Tool(see <a href="http://www.nullstone.com/"><TT>http://www.nullstone.com</TT></a>).The FSF's GNU C (gcc)distribution includes a c-torture-testwhich checks a number of common problems with compilers.Kahan's paranoia test,found innetlib/paranoia on netlib.att.com,strenuously tests a C implementation's floating point capabilities.<hr><hr><hr><a name="miscsrcs"><h1>comp.lang.c FAQ list<font color=blue>&middot;</font><a href="../../resources/miscsrcs.html"><!-- qtag -->Question 18.15c</a></h1><p><font face=Helvetica size=8 color=blue><b>Q:</b></font>Where are some collections of useful code fragments and examples?</p><p><hr><p><font face=Helvetica size=8 color=blue><b>A:</b></font>Bob Stout'spopular``SNIPPETS'' collectionis availablefrom <a href="ftp://ftp.brokersys.com/"><TT>ftp.brokersys.com</TT></a>in directory <a href="ftp://ftp.brokersys.com/pub/snippets/"><TT>pub/snippets</TT></a>or on the web at<a href="http://www.brokersys.com/snippets/"><TT>http://www.brokersys.com/snippets/</TT></a>.</p><p>Lars Wirzenius's ``publib'' libraryis availablefrom <a href="ftp://ftp.funet.fi/"><TT>ftp.funet.fi</TT></a>in directory <a href="ftp://ftp.funet.fi/pub/languages/C/Publib/"><TT>pub/languages/C/Publib/</TT></a>.</p><p>See alsoquestions <a href="faqcat973e.html?sec=fp#mathsrc">14.12</a>, <a href="faqcatccbd.html?sec=resources#tutorials">18.9</a>, <a href="faqcatccbd.html?sec=resources#tutsources">18.9b</a>, <a href="faqcatccbd.html?sec=resources#stdlibsrc">18.13</a>, and <a href="faqcatccbd.html?sec=resources#sources">18.16</a>.<hr><hr><hr><a name="mplib"><h1>comp.lang.c FAQ list<font color=blue>&middot;</font><a href="../../resources/mplib.html"><!-- qtag -->Question 18.15d</a></h1><p><font face=Helvetica size=8 color=blue><b>Q:</b></font>I need code for performing multiple precision arithmetic.</p><p><hr><p><font face=Helvetica size=8 color=blue><b>A:</b></font>Some popular packages arethe ``quad'' functions within theBSD Unix libc sources(ftp.uu.net, /systems/unix/bsd-sources/.../src/lib/libc/quad/*),the GNU MP library ``libmp'',the MIRACL package(see <a href="http://indigo.ie/~mscott/"><TT>http://indigo.ie/~mscott/</TT></a>),the ``calc'' programby David Bell and Landon Curt Noll,and the old Unix libmp.a.See also questions<a href="faqcat973e.html?sec=fp#mathsrc">14.12</a>and<a href="faqcatccbd.html?sec=resources#sources">18.16</a>.</p><p>References:Schumacher, ed.,<I>Software Solutions in C</I> Sec. 17 pp. 343-454<hr><hr><hr><a name="sources"><h1>comp.lang.c FAQ list<font color=blue>&middot;</font><a href="../../resources/sources.html"><!-- qtag -->Question 18.16</a></h1><p><font face=Helvetica size=8 color=blue><b>Q:</b></font>Whereand howcan I get copies of all these freely distributable programs?</p><p><hr><p><font face=Helvetica size=8 color=blue><b>A:</b></font>As the number of available programs,the number of publicly accessible archive sites,and the number of people trying to access themall grow,this question becomes both easier and more difficult to answer.</p><p>There are a number oflarge,public-spiritedarchive sitesout there,such as<a href="ftp://ftp.uu.net/"><TT>ftp.uu.net</TT></a>,<a href="ftp://archive.umich.edu/"><TT>archive.umich.edu</TT></a>,<a href="ftp://oak.oakland.edu/"><TT>oak.oakland.edu</TT></a>,<a href="ftp://sumex-aim.stanford.edu/"><TT>sumex-aim.stanford.edu</TT></a>,and<a href="ftp://wuarchive.wustl.edu/"><TT>wuarchive.wustl.edu</TT></a>,which have huge amounts of softwareand other informationall freelyavailable.For the FSF's GNU project,the central distribution site is<a href="ftp://prep.ai.mit.edu/"><TT>prep.ai.mit.edu</TT></a>.These well-known sites tend to be extremely busy and hard to reach,but there are also numerous ``mirror'' siteswhich try to spread the load around.</p><p>On the connected Internet,the traditional way to retrieve files from an archive siteis with anonymous ftp.For those without ftp access,there are also several ftp-by-mail servers in operation.More and more,the world-wide web (WWW)is being used toannounce, index,and even transferlarge data files.There are probably yet newer access methods, too.</p><p>Those aresome ofthe easy parts of the question to answer.The hard part is in the details--thisdocument cannotbegin totrack orlist all of theavailable archive sitesorall of the various ways of accessing them.If you have access to the net at all,you probably have access to more up-to-date informationaboutactive sites and useful access methodsthan thisFAQ listdoes.</p><p>The other easy-and-hard aspect of the question,of course,is simply <em>finding</em>which sitehas what you're looking for.There is a tremendous amount of work going on in this area,and there are probably new indexing services springing up every day.One of the first was ``archie'',and of course there are a number ofhigh-profile commercial net indexing and searching servicessuch as Alta Vista, Excite, and Yahoo.</p><p>If you have access to Usenet, seethe regular postings in the comp.sources.unixand comp.sources.miscnewsgroups,which describethe archiving policiesfor those groupsand how toaccess their archives,two of which are<a href="ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/"><TT>ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/</TT></a>and<a href="ftp://ftp.uu.net/usenet/comp.sources.unix/"><TT>ftp://ftp.uu.net/usenet/comp.sources.unix/</TT></a>.Thecomp.archives newsgroup contains numerousannouncements of anonymous ftp availability of various items.Finally, thenewsgroup comp.sources.wantedis generally a moreappropriate place to post queries for source availability,but check<em>its</em>FAQ list, ``How to find sources,''before posting there.</p><p>See alsoquestions <a href="faqcat973e.html?sec=fp#mathsrc">14.12</a>, <a href="faqcatccbd.html?sec=resources#tutsources">18.9b</a>, <a href="faqcatccbd.html?sec=resources#stdlibsrc">18.13</a>, and <a href="faqcatccbd.html?sec=resources#miscsrcs">18.15c</a>.<hr><hr><hr><a name="faqavail"><h1>comp.lang.c FAQ list<font color=blue>&middot;</font><a href="../../resources/faqavail.html"><!-- qtag -->Question 18.17</a></h1><p><font face=Helvetica size=8 color=blue><b>Q:</b></font>Where can I get extra copies of this list?</p><p><hr><p><font face=Helvetica size=8 color=blue><b>A:</b></font>See question <a href="faqcat38c2.html?sec=misc#faqavail">20.40</a>.<hr><hr><hr><hr><p>Read sequentially:<a href="faqcataae2.html?sec=style" rev=precedes>prev</a><a href="faqcatea63.html?sec=osdep" rel=precedes>next</a><a href="faqcat.html" rev=subdocument>up</a></p><hr><p><br><!-- lastfooter --><a href="../../about.html">about this FAQ list</a>&nbsp;<a href="../../eskimo.html">about eskimo</a>&nbsp;<a href="../../search.html">search</a>&nbsp;<a href="../../feedback.html">feedback</a>&nbsp;<a href="../../resources/copyright.html">copyright</a><p>Hosted by<a href="http://www.eskimo.com/"><img src="../../../www.eskimo.com/img/link/eskitiny.gif" alt="Eskimo North"></a></body><!-- Mirrored from c-faq.com/~scs/cgi-bin/faqcat.cgi?sec=resources by HTTrack Website Copier/3.x [XR&CO'2008], Sat, 14 Mar 2009 07:58:26 GMT --></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -