亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tour-win.html

?? NTL is a high-performance, portable C++ library providing data structures and algorithms for manipul
?? HTML
字號:
<html>
<head>
<title>
A Tour of NTL: Obtaining and Installing NTL for Windows 
and other Platforms </title>
</head>

<body bgcolor="#fff9e6">
<center>
<a href="tour-unix.html"><img src="arrow1.gif" alt="[Previous]" align=bottom></a>
 <a href="tour.html"><img src="arrow2.gif" alt="[Up]" align=bottom></a> 
<a href="tour-tips.html"> <img src="arrow3.gif" alt="[Next]" align=bottom></a>
</center>

<h1> 
<p align=center>
A Tour of NTL: Obtaining and Installing NTL for Windows 
and other Platforms
</p>
</h1>

<p> <hr> <p>

The WinNTL distribution of 
NTL can be used on any Windows 95 or NT platform
(but not on Windows 3.11 or earlier).
Actually, there is nothing Windows-specific about WinNTL.
The source code is identical to the UNIX NTL distribution;
only the packaging is slightly different, and no assumptions
are made about the program development environment.
Thus, it should be possible to install WinNTL on
other operating systems (e.g., Macintosh, OS/2)
with little difficulty.

<p>
<b>MAC OSX Users:</b>
since MAC OSX is essentially just a (rather funny) flavor of Unix,
you will be much better served using the 
<a href="tour-unix.html">Unix distribution</a>.


<p>
<b>
Obtaining and unpacking NTL.
</b>
<p>

To obtain the source code and documentation for NTL,
<a href="http://www.shoup.net/ntl/download.html">
download <tt>WinNTL-xxx.zip</tt></a>.
Here, "<tt>xxx</tt>" is the current version number.
Then <tt>unzip</tt> this file into a directory (folder).
This will unpack everything into a directory called "<tt>WinNTL-xxx</tt>".
Inside this directory, you will find several directories.

<p>

<ul>
<li>

The directory "<tt>doc</tt>" contains all of NTL's documentation,
including this "tour" ("<tt>tour.html</tt>")
and the "<tt>.txt</tt>" files explaining each module,
which can be accessed directly, or through the "tour".

<p>
<li>

The directory "<tt>src</tt>"
contains all of the source files for the library,
all with "<tt>.cpp</tt>" extensions.
The file "<tt>lip.cpp</tt>" can be compiled as a C source file
(this can sometimes yield a marginal performance gain).

<p>
<li>

The directory "<tt>include</tt>" contains a single directory called 
"<tt>NTL</tt>",
and the latter contains all of the "<tt>.h</tt>" files.

</ul>

<p>

<b>
Platform dependent macros.
</b>
<p>

In directory "<tt>include/NTL</tt>" there is a file called 
"<tt>mach_desc.h</tt>",
which contains all of the platform-dependent macro definitions.
The default settings should be correct for any x86- or Pentium-based 
system running Windows; however, the correct definitions
can depend on the compiler and run-time environment.
Therefore, to be on the safe side,
you might consider compiling and running the program <tt>MakeDesc</tt>,
whose source files are in directory "<tt>MakeDesc</tt>".
This program will
dynamically build
a correct "<tt>mach_desc.h</tt>" for your platform (processor, compiler, 
run-time environment).
To get accurate results,
you must compile this program using the level of optimization 
(or higher) that you will use for NTL.
The program will print some diagnostics to the screen, 
and create the file "<tt>mach_desc.h</tt>" (in the current
directory, and not in the "<tt>include/NTL</tt>" directory,
where it needs to go).

<p>
<b>
Configuration flags.
</b>
<p>

Also in directory "<tt>include/NTL</tt>" is a file called "<tt>config.h</tt>".
You can edit this file to override some of NTL's default options 
for <i>basic configuration</i> and <i>performance</i>.

<p>

<dl>
<dt>
<i>Basic configuration options.</i>
<dd>
Most of the these flags are rather esoteric and can be safely
ignored.
<p>

One exception to this is the <tt>NTL_STD_CXX</tt>  flag
(or perhaps just the <tt>NTL_PSTD_NNS</tt> flag) which
you will want to unset if your compiler is too old
to handle it.
<a href="tour-stdcxx.html">Go here</a> for details.

<p>

Another exception are the flags to use GMP for potentially
faster long integer arithmetic.
See the <a href="tour-gmp.html">GMP</a> section for more details.
Note that getting GMP to run on Windows is a pain in the neck.
If you really want to use GMP, use Unix or Linux!

<p>

<dt>
<i>Performance options.</i>
<dd>
These flags let you fine tune for best performance.
(If you were using Unix, you could run a script that
automatically selects the best settings for your platform.)


<p>
<i>TIP for Pentium platforms:</i> 
<ul>
<li>
Users running 
on a Pentium, or other x86-like processor,
will almost surely want to set the <tt>NTL_LONG_LONG</tt> flag,
or possibly the <tt>NTL_AVOID_FLOAT</tt> flag, in file <tt>config.h</tt>
to get the best performance for long integer arithmetic.
If you set either of these flags, you should also set the
<tt>NTL_TBL_REM</tt> flag as well, to get the best 
performance for <tt>ZZ_pX</tt> arithmetic.
You might also want to set the <tt>NTL_SPMM_ULL</tt> or <tt>NTL_SMPP_UL</tt>
flags.

<li>
These flags can be useful on other platforms as well,
especially on processors with slow int/float conversion.

<li>
The best thing is to experiment, and compile and run program <tt>QuickTest</tt>
to see the impact on the running time of various basic operations.
</ul>
</dl>

<p>
Note that the file "<tt>def_config.h</tt>"
contains a backup copy of the original <tt>config.h</tt> file.


<p>
<b>
Test programs.
</b>
<p>

The directory "<tt>tests</tt>" contains several test programs.
For each program <tt>FooTest</tt>, there is a source file
"<tt>FooTest.cpp</tt>", and optionally two files 
"<tt>FooTestIn</tt>" and "<tt>FooTestOut</tt>".
If the latter  exist, then the program should be run with
the "<tt>FooTestIn</tt>" as standard input;
correct output (printed to standard output) should match
the contents of "<tt>FooTestOut</tt>" exactly;
note that these programs also print diagnostic output on the screen
(through standard error output).

<p>
<b>
Timing functions.
</b>
<p>

The directory "<tt>GetTime</tt>" contains several alternative
definitions of the <tt>GetTime()</tt> function.
The file "<tt>GetTime.cpp</tt>" in the "<tt>src</tt>" directory should be OK,
but your compiler might like one of the definitions in
the directory "<tt>GetTime</tt>" better.

<p>
<b>
Other tools.
</b>
<p>

The directory "<tt>misc</tt>" contains a program <tt>newnames.cpp</tt>
to help make the
transition to NTL version 3.5 from earlier versions of NTL.
See the <a href="tour-changes.html">changes</a> section for more details.
It also contains the programs <tt>gen_lip_gmp_aux.cpp</tt>
and <tt>gen_gmp_aux.cpp</tt> that automatically generate
the auxilliary files needed when using NTL with GMP.
You will have to look at the makefile in the Unix distribution
to see how to use these.



<p>
<b>
Compiling NTL.
</b>
<p>

Since there are a number of incompatible compilers and program development
environments available for Windows, no attempt has been made to
provide automatic tools for building and testing,
as is done for the Unix distribution.
Nevertheless,
it should be straightforward to install NTL (even if it involves a bit of
pointing and clicking).
First, compile all of the files in "<tt>src</tt>", and create a static library.
Make sure the compiler knows where to find NTL's include files
(directory "<tt>include</tt>" and <i>not</i> "<tt>include/NTL</tt>")
Then, to compile a program using the library, 
make sure the compiler knows about the library and the directory
of NTL's include files.
In any case, if you want to do any serious computations,
you will certainly  want to compile everything with your
compiler's code optimizer on.

<p>
For the benefit of those who must use Microsoft Visual C++ on Windows,
here are some steps for compiling and using NTL.
These steps work with MSVC++ v6.
While these steps seem to do the job,
there may be other steps that work better.

The following steps may be used to build the library,
and to build and run program <tt>QuickTest</tt>, as a simple
<i>console application</i>, using the library.
The instructions assume you have already 
unzipped NTL into a directory <tt>c:\mystuff</tt>,
and are running the MSVC++ Development Studio.

<p>
I hope these instructions make some sense:
I don't know a good language for accuratly describing the 
particular pointing an clicking steps.

<p>

<pre>

File -&gt; New -&gt; Projects 
   project name: ntl
   location[default]: c:\Program Files\Microsoft Visual Studio\MyProjects\ntl
   Click on Win32 static library
   Click on OK
   pre-compiled headers[default]: no
   MFC support[default]: no
   Click on Finish
   Click on OK

Project -&gt; Add to Project -&gt; Files
   select all files in c:\mystuff\WinNTL-xxx\src and click on OK.

Project -&gt; Settings -&gt; C/C++ 
   Category: Preprocessor.
   Additional include directories: c:\mystuff\WinNTL-xxx\include.
   Click on OK.

Build -&gt; build ntl.lib

File -&gt; New -&gt; Projects -&gt; Win32 Console Application
   project name: test
   location[default]: c:\Program Files\Microsoft Visual Studio\MyProjects\ntl
   Click on Win32 Console Application
   Click on OK
   What kind of windows application...? [default]: An empty project
   Click on Finish
   Click on OK

Project -&gt; Add to Project -&gt; Files
   select the file c:\mystuff\WinNTL-xxx\tests\QuickTest.cpp
   Click on OK

Project -&gt; Add to Project -&gt; Files
   select the file 
      c:\Program Files\Microsoft Visual Studio\MyProjects\ntl\Debug\ntl.lib
   Note: one must select Files of type: Library Files (.lib) to make this
      file visible in the pop-up window.
   Click on OK

Project -&gt; Settings -&gt; C/C++ 
   Category: Preprocessor.
   Additional include directories: c:\mystuff\WinNTL-xxx\include.
   Click on OK.

Build -&gt; build test.exe

Build -&gt; execute test.exe

</pre>

<p>
<b>
Further remarks.
</b>
<p>

<p>
<i>TIP:</i>  When writing programs using NTL, 
you should include files using the syntax
<pre>
   #include &lt;NTL/ZZ.h&gt;
</pre>
and <i>not</i> using a backslash ("<tt>\</tt>") as a delimiter.

<p>
<i>TIP:</i> When writing <i>windows applications</i> using NTL
(as opposed to <i>console applications</i>) you might want to compile 
your program with the <tt>NTL_NO_MIN_MAX</tt> macro defined.
This suppresses  the declaration of several <tt>min</tt>
and <tt>max</tt> functions in file <tt>tools.h</tt> that conflict
with macro names in the MFC header files.
Do not attempt to build the library with this macro defined -- only
programs that use the library.

<p>
NTL has been successfully installed and tested 
on Windows 95 platforms with both the 
Microsoft and Borland compilers.

<p>
If you have installed the Unix tools from 
<a href="http://www.cygnus.com">Cygnus</a>, then you can use the
<a href="tour-unix.html">Unix</a> distribution of NTL.
This distribution has been specially tailored to work smoothly
with Cygnus tools.
For many programmers,
this is a much more comfortable and reliable program development environment
than commercial systems like those from Microsoft and Borland.
And moreover, these Unix tools are <i>free</i>.
Of course, an even better approach is to install
<a href="http://www.linux.org">Linux</a> on your PC.


<p>

<center>
<a href="tour-unix.html"><img src="arrow1.gif" alt="[Previous]" align=bottom></a>
 <a href="tour.html"><img src="arrow2.gif" alt="[Up]" align=bottom></a> 
<a href="tour-tips.html"> <img src="arrow3.gif" alt="[Next]" align=bottom></a>
</center>


</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品蜜桃在线看| 国产一区91精品张津瑜| 色诱视频网站一区| 一区二区在线观看不卡| 91亚洲国产成人精品一区二区三| 亚洲国产成人自拍| av午夜一区麻豆| 18成人在线观看| 欧洲一区二区三区在线| 亚洲成a人片综合在线| 91精品国产手机| 狠狠色综合播放一区二区| 久久久亚洲精品一区二区三区| 国产一区二区三区美女| 国产女主播一区| 日本二三区不卡| 天天色天天操综合| 久久人人爽人人爽| a4yy欧美一区二区三区| 亚洲国产日韩a在线播放性色| 欧美精品久久久久久久多人混战| 欧美aaa在线| 欧美国产精品一区二区三区| 一本久道久久综合中文字幕| 午夜欧美一区二区三区在线播放 | 久久国产综合精品| 欧美韩国一区二区| 欧美午夜宅男影院| 不卡电影免费在线播放一区| 亚洲免费毛片网站| 欧美草草影院在线视频| 成人av在线电影| 日本不卡在线视频| 国产精品的网站| 日韩一区二区在线免费观看| 国产成人精品www牛牛影视| 一区二区三区蜜桃网| 日韩欧美国产一二三区| 91在线国产福利| 青青草国产精品97视觉盛宴| 国产精品久久久久永久免费观看 | 亚洲成人你懂的| 久久久久亚洲蜜桃| 欧美精选一区二区| 97se亚洲国产综合自在线观| 免费精品视频在线| 亚洲免费在线电影| 久久久91精品国产一区二区精品| 91搞黄在线观看| 成人小视频免费在线观看| 五月综合激情婷婷六月色窝| 中文字幕一区二区三区在线播放| 欧美一区二区三区免费| 91丝袜呻吟高潮美腿白嫩在线观看| 精品中文字幕一区二区| 亚洲国产成人av网| 亚洲女人****多毛耸耸8| 国产亚洲欧美在线| 欧美一级高清片| 欧美亚洲一区二区在线| 成人在线视频一区| 国产一区在线精品| 蜜桃视频一区二区三区在线观看| 亚洲午夜激情网站| 亚洲另类春色校园小说| 日本一二三不卡| 国产亚洲欧美日韩日本| 26uuu色噜噜精品一区二区| 欧美日本在线观看| 欧美性高清videossexo| 一本一本久久a久久精品综合麻豆| 国产又黄又大久久| 久久精品噜噜噜成人av农村| 午夜欧美电影在线观看| 亚洲风情在线资源站| 亚洲一区二区三区四区五区黄 | 成人午夜电影网站| 国产成人av影院| 国产精品综合av一区二区国产馆| 久久se这里有精品| 韩国一区二区在线观看| 韩国成人精品a∨在线观看| 久久er精品视频| 九九热在线视频观看这里只有精品| 青青草国产精品亚洲专区无| 日韩高清欧美激情| 麻豆精品视频在线观看视频| 久久精品国产在热久久| 精品亚洲免费视频| 国产一区不卡在线| 成人性生交大片免费看中文| 99久久久无码国产精品| 色婷婷久久99综合精品jk白丝 | 久久97超碰色| 精品一区二区三区在线观看| 国产一区二区福利| www.欧美色图| 欧美在线免费观看视频| 欧美精品久久久久久久多人混战 | 在线不卡欧美精品一区二区三区| 7777精品久久久大香线蕉| 欧美一级二级三级乱码| 久久久久久夜精品精品免费| 欧美高清在线精品一区| 亚洲精品免费看| 日韩精品1区2区3区| 老司机一区二区| 成人网在线播放| 在线视频中文字幕一区二区| 91精品国产综合久久福利 | 色综合天天综合网国产成人综合天 | 日本精品裸体写真集在线观看| 欧美综合天天夜夜久久| 欧美一级生活片| 久久精品人人爽人人爽| 一区二区三区中文在线观看| 日韩精品五月天| 国产一二三精品| 在线免费亚洲电影| 久久影院午夜片一区| 一区二区三区在线免费视频| 免费一区二区视频| 成+人+亚洲+综合天堂| 欧美日韩国产首页| 日本一区二区三级电影在线观看 | 亚洲综合一区二区三区| 久久99精品久久久久久动态图| aa级大片欧美| 欧美sm美女调教| 一区二区三区中文免费| 精品一区二区精品| 欧美性生活一区| 欧美国产在线观看| 日本中文字幕一区| 色综合色综合色综合色综合色综合| 日韩欧美国产一区在线观看| 亚洲欧美激情插| 国产精品亚洲一区二区三区在线| 欧亚洲嫩模精品一区三区| 中文字幕乱码久久午夜不卡| 爽好久久久欧美精品| 91香蕉视频在线| 国产婷婷色一区二区三区在线| 亚洲.国产.中文慕字在线| av电影在线不卡| 久久老女人爱爱| 另类小说一区二区三区| 色婷婷久久综合| 1区2区3区精品视频| 国产一区二区美女| 日韩欧美一级二级| 五月开心婷婷久久| 在线观看网站黄不卡| 亚洲国产精品成人久久综合一区| 蜜桃av一区二区三区| 欧美精品v日韩精品v韩国精品v| 国产精品乱码人人做人人爱| 国产一区二区久久| 日韩视频在线一区二区| 偷拍一区二区三区四区| 精品视频999| 亚洲精品国产成人久久av盗摄| 岛国精品在线播放| 久久精品免费在线观看| 精品一区二区三区免费播放| 欧美精品高清视频| 午夜精品福利久久久| 欧美日韩国产中文| 大桥未久av一区二区三区中文| 久久综合色之久久综合| 国产一区二区毛片| 国产婷婷色一区二区三区四区| 久久99精品久久只有精品| 欧美岛国在线观看| 精品一区二区三区免费毛片爱| 欧美一区二区观看视频| 麻豆精品视频在线观看免费| 日韩精品一区二区三区四区视频| 美美哒免费高清在线观看视频一区二区| 欧美三电影在线| 日本在线观看不卡视频| 欧美成人艳星乳罩| 国产乱对白刺激视频不卡| 久久久久国产精品厨房| 成人免费看视频| 成人欧美一区二区三区白人| 在线欧美一区二区| 午夜精品一区二区三区免费视频| 91精品啪在线观看国产60岁| 日本视频一区二区| 久久久久久久久久久久久夜| 国产91高潮流白浆在线麻豆| 中文字幕一区二区5566日韩| 91久久精品一区二区三| 亚洲h在线观看| 精品剧情在线观看| 不卡的av在线播放| 亚洲h在线观看| 久久久久88色偷偷免费| 一本一道波多野结衣一区二区|