- 博客(8)
- 问答 (2)
- 收藏
- 关注
原创 《Beginning C++17》-学习笔记-Chapter 06-Pointers and References
#include <iostream>int main(){ long* pnumber1{};//the statement initializes pnumber1 with the pointer equivalent of zero, which is a special address that doesn't point to anything. long* p...
2018-11-27 15:25:40 280
原创 《Beginning C++17》-学习笔记-Chapter 05-Arrays and Loops
The size of an array must always be specified using a constant integer expression. Any integer expression that the compiler can evaluate at compile time may be used, though mostly this will be either ...
2018-11-17 23:17:46 294
原创 《The Passionate Programmer》书摘
书名:The Passionate ProgrammerCreating a Remarkable Career in Software Development作者:Chad Fowler阅读时间:2018/10/30-2018/11/13书摘+评论:Nobody becomes a musician because they want to get a job and lead ...
2018-11-13 19:57:03 341
原创 《Beginning C++17》-学习笔记-Chapter 04-Making Decisions
There are only two possible bool values, true and false. True and false are keywords and are literals of type bool. They aresometimes called Boolean literals.#include <iostream>int main()...
2018-11-12 17:27:35 362
原创 《Beginning C++17》-学习笔记-Chapter 03-Working with Fundamental Data Types
The XOR operator is used less frequently than the & and | operators. Important applications arise, however, in for instance cryptography, random number generation, and computer graphics. XOR is al...
2018-11-08 17:21:53 208
原创 程序员笑话-持续更新中
There are only 10 types of people in the world: Those that understand binary and those that don't.这世界上的人分为10类,一类了解二进制数,一类不了解。All programmers are playwrights and all computers are lousy actors...
2018-11-06 17:29:01 594
原创 《Beginning C++17》-学习笔记-Chapter 02-Introducing Fundamental Types of Data
#include <iostream>int main(){ //int apple_count{ 15.5 }; /*此行会导致编译错误。错误类型是narrowing conversion。*/ int apple_count{ 15 }; /*第一种赋值形式;The braces enclosing the initial value are called a bra...
2018-11-02 23:57:40 224
原创 《Beginning C++17》-学习笔记-Chapter 01-Basic Ideas
书名:Beginning C++17 - From Novice to Professional作者:Ivor Horton, Peter Van Weert笔记:Blocks can be placed inside other blocks—this concept is called nesting. Blocks can be nested, one within anothe...
2018-11-01 14:52:47 525
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人