• 大小: 525KB
    文件类型: .zip
    金币: 2
    下载: 2 次
    发布日期: 2021-06-27
  • 语言: C/C++
  • 标签: C++  

资源简介

C++编程思想课后习题答案全 下载自配套网站

资源截图

代码片段和文件信息

//: S02:Area.cpp
// From “Thinking in C++ 2nd Edition Volume 1 Annotated Solutions Guide“
// by Chuck Allison (c) 2001 MindView Inc. all rights reserved
// Available at www.BruceEckel.com.
//{-T} @echo run Area by hand!
#include 
using namespace std;

int main() {
  const float pi = 3.141592654;
  cout << “Enter the radius: “;
  
  float radius;
  cin >> radius;
  cout << “The area is “ << pi * radius * radius << endl;
}

/* Sample Execution:
c:>area
Enter the radius: 12
The area is 452.389
*/ ///:~

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        1199  2002-06-28 05:51  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\html\SimpCont.htm
     目录           0  2015-03-25 14:15  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\
     文件        1546  2002-06-28 05:51  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\CopyRight.txt
     目录           0  2015-03-25 14:13  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\
     目录           0  2015-03-25 14:13  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\
     文件         542  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\Area.cpp
     文件         477  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\FileView.cpp
     文件         674  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\Fillvector.cpp
     文件         644  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\Fillvector2.cpp
     文件         688  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\FloatVector.cpp
     文件        1020  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\FloatVector2.cpp
     文件         708  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\FloatVector3.cpp
     文件         633  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\Hello2.cpp
     文件         774  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\WordCount.cpp
     文件         500  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\Words.cpp
     文件         511  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\Words2.cpp
     文件        1956  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S02\makefile
     目录           0  2015-03-25 14:13  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\
     文件        1225  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\AbusingTheLanguage.cpp
     文件         453  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\Enum.cpp
     文件         438  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\FPtr1.cpp
     文件         886  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\IEEEFloat.cpp
     文件         558  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\MapFloat.cpp
     文件        1605  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\MapWords.cpp
     文件         769  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\PointerIncrement2.cpp
     文件         408  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\PrintBinary.cpp
     文件         637  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\PrintBytes.cpp
     文件         414  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\ProtoTest.cpp
     文件         638  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\Prototypes.cpp
     文件         322  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\Prototypes.h
     文件         615  2002-06-27 05:11  Thinking_in_C++Annotated+Solution+Guide+for_Vol1\code\S03\StringArray.cpp
............此处省略390个文件信息

评论

共有 条评论