Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Giới thiệu
Đăng ký
Đăng nhập
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
Thông tin
Điều khoản sử dụng
Quy định bảo mật
Quy chế hoạt động
Chính sách bản quyền
Giới thiệu
Đăng ký
Đăng nhập
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Programming principles and practice using C++: Chapter 11 - Bjarne Stroustrup
tailieunhanh - Lecture Programming principles and practice using C++: Chapter 11 - Bjarne Stroustrup
In this chapter, we concentrate on how to adapt the general iostreams framework presented in Chapter 10 to specific needs and tastes. A number of ways are presented in which we can tailor input and output to our needs. In this chapter, you learned to: Input and output, numeric output, file modes, string streams, line-oriented input. | Chapter 11 Customizing I/O Bjarne Stroustrup Overview Input and output Numeric output Integer Floating point File modes Binary I/O Positioning String streams Line-oriented input Character input Character classification Stroustrup/Programming/2015 Kinds of I/O Individual values See Chapters 4, 10 Streams See Chapters 10-11 Graphics and GUI See Chapters 12-16 Text Type driven, formatted Line oriented Individual characters Numeric Integer Floating point User-defined types Stroustrup/Programming/2015 Observation As programmers we prefer regularity and simplicity But, our job is to meet people’s expectations People are very fussy/particular/picky about the way their output looks They often have good reasons to be Convention/tradition rules What does 110 mean? What does 123,456 mean? What does (123) mean? The world (of output formats) is weirder than you could possibly imagine Stroustrup/Programming/2015 Output formats Integer . | Chapter 11 Customizing I/O Bjarne Stroustrup Overview Input and output Numeric output Integer Floating point File modes Binary I/O Positioning String streams Line-oriented input Character input Character classification Stroustrup/Programming/2015 Kinds of I/O Individual values See Chapters 4, 10 Streams See Chapters 10-11 Graphics and GUI See Chapters 12-16 Text Type driven, formatted Line oriented Individual characters Numeric Integer Floating point User-defined types Stroustrup/Programming/2015 Observation As programmers we prefer regularity and simplicity But, our job is to meet people’s expectations People are very fussy/particular/picky about the way their output looks They often have good reasons to be Convention/tradition rules What does 110 mean? What does 123,456 mean? What does (123) mean? The world (of output formats) is weirder than you could possibly imagine Stroustrup/Programming/2015 Output formats Integer values 1234 (decimal) 2322 (octal) 4d2 (hexadecimal) Floating point values (general) (scientific) (fixed) Precision (for floating-point values) (precision 6) (precision 5) Fields |12| (default for | followed by 12 followed by |) | 12| (12 in a field of 4 characters) Stroustrup/Programming/2015 Numerical Base Output You can change “base” Base 10 == decimal; digits: 0 1 2 3 4 5 6 7 8 9 Base 8 == octal; digits: 0 1 2 3 4 5 6 7 Base 16 == hexadecimal; digits: 0 1 2 3 4 5 6 7 8 9 a b c d e f // simple test: cout Stroustrup/Programming/2015 “Sticky” Manipulators You can change “base” Base 10 == decimal; digits: 0 1 2 3 4 5 6 7 8 9 Base 8 == octal; digits: 0 1 2 3 4 5 6 7 Base 16 == hexadecimal; digits: 0 1 2
Giang Thiên
69
28
ppt
Báo lỗi
Trùng lắp nội dung
Văn hóa đồi trụy
Phản động
Bản quyền
File lỗi
Khác
Upload
Tải xuống
đang nạp các trang xem trước
Không thể tạo bản xem trước, hãy bấm tải xuống
Tải xuống
TÀI LIỆU LIÊN QUAN
Principles of Programming Languages
166
128
0
Lecture Programming principles and practice using C++: Chapter 25 - Bjarne Stroustrup
36
83
0
Lecture Programming principles and practice using C++: Chapter 27 - Bjarne Stroustrup
44
117
0
Lecture Programming principles and practice using C++: Chapter 1, 2 - Bjarne Stroustrup
32
91
0
Lecture Programming principles and practice using C++: Chapter 7 - Bjarne Stroustrup
31
63
0
Lecture Programming principles and practice using C++: Chapter 8 - Bjarne Stroustrup
33
69
0
Lecture Programming principles and practice using C++: Chapter 9 - Bjarne Stroustrup
31
66
0
Lecture Programming principles and practice using C++: Chapter 10 - Bjarne Stroustrup
35
63
0
Lecture Programming principles and practice using C++: Chapter 11 - Bjarne Stroustrup
28
57
0
Lecture Programming principles and practice using C++: Chapter 12 - Bjarne Stroustrup
45
69
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461871
55
Giới thiệu :Lập trình mã nguồn mở
14
22681
61
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10901
530
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10071
446
Phân tích và làm rõ ý kiến sau: “Bài thơ Tự tình II vừa nói lên bi kịch duyên phận vừa cho thấy khát vọng sống, khát vọng hạnh phúc của Hồ Xuân Hương”
3
9535
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8294
1125
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8244
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7866
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6696
253
Vật lý hạt cơ bản (1)
29
5777
85
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Programming principles
Programming C++
Practical C++ programming
Programming languages
Numeric output
Customizing I O
programming experience
code programming
programming languages
computer programming
design tips
programming documentation
programming skills
the Ruby programming document
methods Ruby programming language
Embedded systems programming
Embedded systems
The C programming language
C++ interoperability
Programming hard
Completing a program
Token streams
Language technicalities
Header files
Operator overloading
Output streams
Input streams
Graphics model
Display model
Graphics classes
Interface classes
Graph class design
Class shape
Graphing functions
Classes defined
Graphical user interfaces
Layers of software
Vector revisited
Free store
Copy semantics
Representing vector
Pointer problems
Parameterization of algorithms
Associative containers
Standard algorithms
Software ideals
Language designers
Text processing
Application domains
Random numbers
Complex numbers
Testing GUIs
Design for testing
String I O
Integer I O
Language constructs
Language features
TÀI LIỆU MỚI ĐĂNG
Giáo án mầm non chương trình đổi mới: Gia đình vui nhộn
4
312
1
28-04-2024
extremetech Hacking BlackBerry phần 9
31
252
0
28-04-2024
TƯƠNG QUAN GIỮA MÔ HỌC, GIẢI PHẪU VÀ HÌNH ẢNH CỦA CÁC KHỐI U PHẦN PHỤ
3
167
0
28-04-2024
Bơm máy nén quạt trong công nghiệp part 8
20
198
2
28-04-2024
Công nghiệp gang thép Việt Nam : Một giai đoạn phát triển và chuyển đổi chính sách mới part 5
6
194
0
28-04-2024
MySQL Database Usage & Administration PHẦN 7
37
156
0
28-04-2024
B2B Content Marketing: 2012 Benchmarks, Budgets & Trends
17
139
0
28-04-2024
Lịch sử Đội TNTP Hồ Chí Minh - CHƯƠNG III VÂNG LỜI BÁC DẠY, LÀM NGHÌN VIỆC TỐT, CHỐNG MỸ, CỨU NƯỚC, THIẾU NIÊN SĂN SÀNG
45
137
0
28-04-2024
Hệ thống làm lạnh và điều hòa không khí
21
126
0
28-04-2024
Bài Tiểu Luận Chuyên Đề Tổ Chức Hoạt Động Nhận Thức Trong Dạy Học Vật Lý " Định Luật Ôm Cho Các Loại Đoạn Mạch Chứa Nguồn Điện"
10
151
3
28-04-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7866
2220
Giáo trình Tư tưởng Hồ Chí Minh - Mạch Quang Thắng (Dành cho bậc ĐH - Không chuyên ngành Lý luận chính trị)
152
5759
1382
Ebook Chào con ba mẹ đã sẵn sàng
112
3770
1232
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5327
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8294
1125
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3503
643
Tiểu luận: Tư tưởng Hồ Chí Minh về xây dựng nhà nước trong sạch vững mạnh
13
10901
530
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3688
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4059
516
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4132
480
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.