Algorithms, 4th Edition 配套学习网站
来源:互联网 发布:淘宝助手创建宝贝模板 编辑:程序博客网 时间:2024/05/16 11:52
BOOK:Algorithms, 4th Edition by Robert Sedgewick andKevin Wayne
Algorithms, 4th Edition 配套学习网站:http://algs4.cs.princeton.edu/
setting up asimple Java programming environment
windows: Download algs4.exe
默认安装后需要用到Book里面范例, 用javac-algs4/java-algs4 命令编译运行。
备注:
To make ourtextbook libraries accessible to Java, use the command javac-algs4 instead. Forexample, to compile TestAlgs4.java, which uses ourstandarddrawing library, the autoinstaller issues the the following command:
C:\Users\username\algs4>javac-algs4 TestAlgs4.java
To make ourtextbook libraries accessible to Java, use the command java-algs4 instead. Forexample, to test standard draw and standard audio type the following twocommands:
C:\Users\username\algs4\hello>java-algs4 edu.princeton.cs.algs4.StdDraw
[ displays a graphics window with some geometric shapes and text ]
C:\Users\username\algs4\hello>java-algs4 edu.princeton.cs.algs4.StdAudio
[ plays an A major scale ]
配套书中范例和数据文本:
CODE:http://algs4.cs.princeton.edu/code/
Download: programs as algs4.jar andthe data as algs4-data.zip.
说明:使用书中范例时候,可以使用统配符 import edu.princeton.cs.algs4.*; 替换范例中的 import 行
As of August 17,2015, the "default package" version of algs4.jar has been replacedwith a "named package" version. To access the classes in algs4.jar,you will need to use an import statement like the ones below:
import edu.princeton.cs.algs4.MinPQ;
import edu.princeton.cs.algs4.StdIn;
Note that the I/Olibraries from stdlib.jar are now contained in algs4.jar, so you no longer needstdlib.jar.
- Algorithms, 4th Edition 配套学习网站
- 《算法》第四版《Algorithms》4th Edition 学习环境搭建
- Algorithms(4th Edition),Java Programming Model
- 《Algorithms》4th edition环境搭建
- 《Algorithms 4th Edition》读书笔记——2.4 优先队列(priority queue)-Ⅰ
- 《Algorithms 4th Edition》读书笔记——2.4 优先队列(priority queue)-Ⅱ
- 《Algorithms 4th Edition》读书笔记——2.4 优先队列(priority queue)-Ⅲ
- 《Algorithms 4th Edition》读书笔记——2.4 优先队列(priority queue)-Ⅳ
- MySQL (4th Edition)
- Algorithm 4th edition
- "algorithms 4th"---symbol table
- 《Hadoop.The.Definitive.Guide.4th.Edition.2015.3》学习笔记
- C++ Primer (4th Edition)
- Beginning XML, 4th Edition
- 《C++ Primer》 4th Edition
- Sendmail, 4th Edition [ILLUSTRATED]
- Giant C++ resources list, 4th edition
- Video Demystified(视频解密) 4th edition
- Calendar使用方法(转载)
- 机器学习 SVM sklearn
- 3.16(c程序实现)特殊的平衡二叉搜索树之完全二叉搜索树
- 大数据学习--beginning
- String类---深拷贝,简洁深拷贝,引用计数拷贝,写时拷贝
- Algorithms, 4th Edition 配套学习网站
- tableau中SQL语句根据sql还是access数据库是有区别的
- 什么是Spring,IOC是什么?DI是什么?
- Reverse String
- xposed hook入门篇
- 快速入门Vue.js
- [BZOJ1211][HNOI2004]树的计数(prufer序列+数学相关)
- Odd sum CF
- adb