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
Tài liệu HOT
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
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
Lecture Elementary programming with C - Session 4: Input and output in C
TAILIEUCHUNG - Lecture Elementary programming with C - Session 4: Input and output in C
Lecture Elementary programming with C - Session 4: Input and output in C. After completing this chapter, students will be able to: understand formatted I/O functions - scanf and printf, use character I/O functions - getchar and putchar. | Input and Output in 'C' Session 4 Input and Output in C Objectives To understand formatted I/O functions - scanf() and printf() To use character I/O functions - getchar() and putchar() Elementary Programming with C/Session 4/ of 27 Standard Input/Output In C, the standard library provides routines for input and output The standard library has functions for I/O that handle input, output, and character and string manipulation Standard input is usually the keyboard Standard output is usually the monitor (also called the console) Input and Output can be rerouted from or to files instead of the standard devices Elementary Programming with C/Session 4/ of 27 The Header File #include This is a preprocessor command is a file and is called the header file contains the macros for many of the input/output functions used in ‘C’ printf(), scanf(), putchar(), getchar() functions are designed such that, they require the macros in for proper execution Elementary Programming with C/Session 4/ of 27 Formatted Input/Output printf() – for formatted output scanf() – for formatted input Format specifiers specify the format in which the values of the variables are to be input and printed Elementary Programming with C/Session 4/ of 27 printf ()-1 used to display data on the standard output – console Syntax printf ( “control string”, argument list); The argument list consists of constants, variables, expressions or functions separated by commas There must be one format command in the control string for each argument in the list The format commands must match the argument list in number, type and order The control string must always be enclosed within double quotes, which are its delimiters Elementary Programming with C/Session 4/ of 27 The control string consists of one or more of three types of items: Text characters: consists of printable characters Format Commands: begins with a % sign and is followed by a format code - .
Hoài Trang
113
27
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
A Complete Guide to Programming in C++
837
103
0
Lecture Programming principles and practice using C++: Chapter 27 - Bjarne Stroustrup
44
116
0
C# 3.0 Cookbook™
888
94
0
Beginning Algorithms
591
111
0
Beginning C# 2008
511
92
0
Lecture Practical C++ programming - Chapter 29: Programming adages
13
92
0
C# 4.0 IN A NUTSHELL
1056
99
0
C Programming language
238
132
0
C++ Programs to Accompany Programming Logic and Design
224
96
0
C++ PROGRAMMING: FROM PROBLEM ANALYSIS TO PROGRAM DESIGN
1
112
0
TÀI LIỆU XEM NHIỀU
Một Case Về Hematology (1)
8
461887
55
Giới thiệu :Lập trình mã nguồn mở
14
22723
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
10906
530
Câu hỏi và đáp án bài tập tình huống Quản trị học
14
10083
447
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
9540
104
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8302
1127
Tiểu luận: Nội dung tư tưởng Hồ Chí Minh về đạo đức
16
8248
423
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7867
2220
Đề tài: Dự án kinh doanh thời trang quần áo nữ
17
6713
253
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
5795
1391
TỪ KHÓA LIÊN QUAN
Kỹ thuật lập trình
Programming with C
Lecture Elementary programming with C
Programming language
Standard input
Standard output
Control string
C + + Primer Plus
programming techniques
programming tips
teaching C programming
programming in C
C + + programming
Programming principles
Programming C++
Practical C++ programming
Programming languages
The C programming language
C++ interoperability
programming experience
C # programming tips
programming languages
C + + language
curriculum programming
C programming basics
experience in programming
software engineering
computer programming
java programming language C + +
C programming
computer engineering
C sharp
database
C programming language
documentation set the
C++ programming
Programming adages
Switch statement
C++ programmers
language C + +
programming language C #
C # programming techniques
programming documents
programming procedure
C + + programming language C + +
C + + Programs to Accompany Programming Logic and Design
office applications
office computing
Windows programming
application programming
Java programming
programming dot Net
C # programming
computer applications
tips for windows 7
computer tips
computer software
code programming
programming basics
C + +
Visual C + +
Embedded systems programming
Embedded systems
Programming process
Code design
Programming hard
Modular programming
Extern modifier
Array code
History of C++
C++ Programmer
basic programming
PHP programming
programming assignments
programming languages c
code programming c
variables and constants in C
programming technique
fundamental programming language C + + programming experience
C++ for Dummies
Low Level C Programming
introductory programming
C++ Strings
Reading data
C Style Strings
C++ Pre processor
Pre processor surprises
Conditional compilation
K&R style functions
Turning structures classes
Zeroing structures
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
313
1
01-05-2024
Động cơ đốt trong và máy kéo công nghiêp tập 1 part 7
23
260
0
01-05-2024
Bibliography on Medieval Women, Gender, and Medicine 1980-2009
82
211
0
01-05-2024
Trading Strategies Profit Making Techniques For Stock_8
23
176
1
01-05-2024
MySQL Basics for Visual Learners PHẦN 9
15
186
0
01-05-2024
THE ANTHROPOLOGY OF ONLINE COMMUNITIES BY Samuel M.Wilson and Leighton C. Peterson
19
148
0
01-05-2024
BÀI GIẢNG VỀ - MẠCH ĐIỆN II - Chương I: Phân tích mạch trong miền thời gian
38
143
0
01-05-2024
Đề tài: Tìm hiểu một số yêu cầu đặt ra với một phòng thu âm, để đảm bảo chất lượng âm thanh trong sản phẩm đa phương tiện
8
162
1
01-05-2024
báo cáo hóa học:" Endoscopic decompression for intraforaminal and extraforaminal nerve root compression"
7
108
0
01-05-2024
GIÁO TRÌNH MÁY ĐIỆN KHÍ CỤ ĐIỆN - PHẦN I MÁY ĐIỆN - CHƯƠNG 1
46
131
2
01-05-2024
TÀI LIỆU HOT
Mẫu đơn thông tin ứng viên ngân hàng VIB
8
7867
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
5795
1391
Ebook Chào con ba mẹ đã sẵn sàng
112
3772
1233
Ebook Tuyển tập đề bài và bài văn nghị luận xã hội: Phần 1
62
5334
1136
Ebook Facts and Figures – Basic reading practice: Phần 1 – Đặng Tuấn Anh (Dịch)
249
8302
1127
Giáo trình Văn hóa kinh doanh - PGS.TS. Dương Thị Liễu
561
3518
644
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
10906
530
Giáo trình Sinh lí học trẻ em: Phần 1 - TS Lê Thanh Vân
122
3695
525
Giáo trình Pháp luật đại cương: Phần 1 - NXB ĐH Sư Phạm
274
4071
516
Bài tập nhóm quản lý dự án: Dự án xây dựng quán cafe
35
4136
480
Đã 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.