2008年4月22日

求PI

摘要: 用高斯公式求PI: PI/4 = 1 – 1/3 + 1/5 – 1/7 +……. PI Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include using namespace std; int main(... 阅读全文

posted @ 2008-04-22 23:44 哪热 阅读(197) 评论(0) 推荐(0) 编辑

前言

摘要: 记录自己学习从零开始学习C++的历程,从基本的习题开始。我学习的资料是C++ Primer 4.0和C++程序设计教程 第二版(钱能著),习题为二者书中提供的。前两天在一兄弟的推荐下,下载了Visual Studio 2008;所以现在的编译环境是Visual Studio2008,05和08能够比较严格的遵循C++标准。Visual Studio2003下可以通过的代码,在05和08下不一定能够... 阅读全文

posted @ 2008-04-22 23:33 哪热 阅读(321) 评论(1) 推荐(1) 编辑

导航