自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 收藏
  • 关注

翻译 Chapter 12 – Working with Excel Spreadsheets

本文为转载,原文地址为https://automatetheboringstuff.com/chapter12/ ----------------------------------------------------------------------------------------------------------------------------- Working with Ex...

2019-06-06 10:33:52 660

转载 [转]五种开源协议(GPL,LGPL,BSD,MIT,Apache)介绍

-- 什么是许可协议? 什么是许可,当你为你的产品签发许可,你是在出让自己的权利,不过,你仍然拥有版权和专利(如果申请了的话),许可的目的是,向使用你产品的人提供 一定的权限。 不管产品是免费向公众分发,还是出售,制定一份许可协议非常有用,否则,对于前者,你相当于放弃了自己所有的权利,任何人都没有义务表明你的原始作 者身份,对于后者,你将不得不花费比开发更多的精力用来逐个处理用户的授权问题。...

2019-03-21 10:36:12 153

原创 C Primer Plus 第6版 Chapter 11 课后编程练习

ex11.1 // ex_11.1 #include <stdio.h> char* gets_n(char* , int); int main(void) { char* target[80]; puts("Enter a string:"); gets_n(target,8); puts(target); return 0; } ch...

2018-11-05 16:21:27 152

原创 C Primer Plus 第6版 Chapter 10 课后编程练习

ex10.1 // ex_10.1 #include <stdio.h> #define MONTHS 12 // number of months in a year #define YEARS 5 // number of years of data int main(void) { // initializing rainfall data for 2010 - 2014 ...

2018-10-12 18:36:07 177

原创 C Primer Plus 第6版 Chapter 8 课后编程练习

先留着位置

2018-10-11 17:48:47 110

原创 C Primer Plus 第6版 Chapter 9 课后编程练习

ex9.1 // ex_9.1 #include <stdio.h> double min(double, double); int main(void) { double num1, num2 = 0; printf("Enter the first number: "); scanf("%lf", &num1); printf("Ent...

2018-10-09 08:19:00 175

原创 C Primer Plus 第6版 Chapter 7 课后编程练习

答案为本人自己编写,仅供大家学习参考,如有错误,欢迎大家在评论区留言指正。 ex7.1 // ex_7.1 #include <stdio.h> #include <ctype.h> #define STOP '#' int main(void) { int ch; int n_spaces = 0; int n_lines = 0; ...

2018-09-29 15:01:38 126

原创 C Primer Plus 第6版 Chapter 6 课后编程练习

答案为本人自己编写,仅供大家学习参考,如有错误,欢迎大家在评论区留言指正。 ex6.1 // ex_6.1 #include <stdio.h> #define SIZE 26 int main(void) { char arr[SIZE]; char a = 'a'; for (int i = 0; i < SIZE; i++, a++) ...

2018-09-27 15:13:33 127

原创 C Primer Plus 第6版 Chapter 5 课后编程练习

答案为本人自己编写,仅供大家学习参考,如有错误,欢迎大家在评论区留言指正。 ex5.1 // ex_5.1 #include <stdio.h> #define HOUR_TO_MINUTES 60 int main(void) { int total_minutes = 1; int total_hours = 0; int current_minut...

2018-09-27 10:47:44 112

原创 C Primer Plus 第6版 Chapter 4 课后编程练习

答案为本人自己编写,仅供大家学习参考,如有错误,欢迎大家在评论区留言指正。 ex4.1 // ex_4.1 #include <stdio.h> int main(void) { char firstName[12]; char lastName[12]; printf("Enter your first name: "); scanf("%s"...

2018-09-23 07:18:11 127

原创 C Primer Plus 第6版 Chapter 3 课后编程练习

ex3.1 // ex_3.1 #include <stdio.h> #include <limits.h> #include <float.h> int main(void) { int intMax = INT_MAX; float floatMax = FLT_MAX; printf("The maximum value of...

2018-09-21 10:32:03 153

原创 C Primer Plus 第6版 Chapter 2 课后编程练习

ex2.1 // ex_2.1 #include <stdio.h> int main(void) { printf("Tim Wu\n"); printf("Tim\nWu\n"); printf("Tim "); printf("Wu\n"); return 0; } ex2..2 // ex_2.2 #include <...

2018-09-20 11:44:30 154

原创 C++ Primer Plus 第6版 课后练习 Chapter 3

  // ex_3.1 #include <iostream> using namespace std; int main() { const int FeetToInch = 12; int height = 0; cout << "Enter your height(in inch):___\b\b\b"; cin >>...

2018-07-20 15:04:36 132

原创 《How to Design Programs》HTDP_ChapterI——3

将大问题拆分成小问题3.1 电影院利润问题;; profit : number -> number ;; to compute the profit as the difference between revenue and costs ;; at some given ticket-price (define (profit ticket-price) ...);; revenue :...

2018-06-12 16:13:43 210

原创 How to Design Programs, Second Edition——Chapter 1 Fixed-Size Data 固定尺寸数据

Exercise 1. Add the following definitions for x and y to DrRacket’s definitions area:(define x 3)(define y 4)Now imagine that x and y are the coordinates of a Cartesian point. Write down an expressi...

2018-06-08 17:10:21 1701

原创 How to Design Programs, Second Edition——Chapter 0.序 (笔记)

(+ 2 2) (* 3 3) (- 4 2) (/ 6 2) 字符串> "hello world" "hello world"字符串合并> (string-append "hello" "world") "helloworld" > (string-append "hello " "world") "hello wo

2018-06-07 21:55:46 469

原创 How to Design Programs, Second Edition——前言笔记

How to Design Programs 第二版 作者 Matthias Felleisen, Robert Bruce Findler, Matthew Flatt, Shriram Krishnamurthi http://www.ccs.neu.edu/home/matthias/HtDP2e/index.html   Preface 序言 好的专职的程序设计需要系统性的思考,...

2018-06-07 21:49:34 1309

原创 Introduction to Programming Using Python——第9章 笔记

CHAPTER 9 GUI PROGRAMMING USING TKINTER9.1 IntroductionTkinter (读作 T-K-Inter 是Tk interface的缩略),是Python自带的GUI库。-----------------------------------------------------------------------------9.2 Getting S...

2018-06-05 21:03:50 668

原创 Introduction to Programming Using Python——第10章 笔记

LISTING 10.2 LottoNumbers.pyisCovered = 99 * [False] endOfInput = True #设定一个跳出loop的判定值 while endOfInput: s = input("Enter a line of numbers separated by space:\n") #用户输入数字并以“空格”隔开 item = s.split(...

2018-05-30 13:20:56 939

转载 Introduction to HTML

In This Article         (CodeCademy上一些相关的扩展阅读) History of HTML What is HTML? Elements — the basic building blocks Tags Attributes Named character references Comments and doctype A complete but...

2016-09-22 20:58:55 432

原创 HTML 表格

你可以使用 HTML 创建表格。 实例 表格这个例子演示如何在 HTML 文档中创建表格。表格边框本例演示各种类型的表格边框。 (可以在本页底端找到更多实例。) 表格 表格由 标签来定义。每个表格均有若干行(由 标签定义),每行被分割为若干单元格(由 标签定义)。字母 td 指表格数据(table data),即数据单元格的内容。数据单元格可以包

2016-09-15 14:17:27 139

原创 HTML 图像

实例 插入图像本例演示如何在网页中显示图像。从不同的位置插入图片本例演示如何将其他文件夹或服务器的图片显示到网页中。 (可以在本页底端找到更多实例。) 图像标签()和源属性(Src) 在 HTML 中,图像由 标签定义。 是空标签,意思是说,它只包含属性,并且没有闭合标签。 要在页面上显示图像,你需要使用源属性(src)。src 指 "source"

2016-09-14 21:39:16 502

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除