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
c for engineers and scientists introduction to programming with ansi c phần 9
Đang chuẩn bị liên kết để tải về tài liệu:
c for engineers and scientists introduction to programming with ansi c phần 9
Lan Nhi
83
67
pdf
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Trên một mức độ cơ bản, chuỗi chỉ đơn giản là mảng ký tự có thể được thao tác bằng cách sử dụng các kỹ thuật chế biến tiêu chuẩn yếu tố phần tử mảng. Trên một mức độ cao hơn, chuỗi chức năng thư viện có sẵn để điều trị chuỗi như những thực thể hoàn chỉnh. Chương này tìm hiểu các đầu vào, | 13.1 The AND Operator 519 Program 13-2 uses this masking property to convert lowercase letters in ai word into their its uppercase form assuming the letters are stored using the ASCII code. The algorithm for converting letters is based on the fact that the binary codes for lowercase and uppercase letters in ASCII are the same except for bit 6 which is 1 for lowercase letters and 0 for uppercase letters. For example the binary code for the letter a is 01100001 hex 61 while the binary code for the letter A is 01000001 hex 41 . Similarly the binary code for the letter z is 01111010 hex 7A while the binary code for the letter z is 01011010 hex 5A I See Appendix F for the hexadecimal values of the uppercase and lowercase letters. Thus a lowercase letter can be converted into its uppercase form by forcing the sixth bit to zero. This is accomplished in Program 13-2 by masking the letter s code with the binary value 11011111 which has the hexadecimal value DF. Program 13-2 include stdio.h main i i char word 81 enough storage for a complete line. void upper char function prototype printf Enter a string of both upper and lowercase letters n gets word ị printf nThe string of letters just entered is n I puts word upper word printf nThis string in uppercase letters is n puts word void upper char word while word 0 word 0XDF A sample run using Program 13-2 follows Enter a string of both upper and lowercase letters abcdefgHIJKLMNOPqrstuvwxyz The string of letters just entered is abcdefgHIJKLMNOPqrstuvwxyz This string in uppercase letters is ABCDEFGHIJKLMNOPQRSTUVWXYZ 520 Chapter Thirteen Bit Operations Notice that the lowercase letters are converted to uppercase form while uppercase letters are unaltered. This is because bit 6 of all uppercase letters is zero to begin with so that forcing this bit to zero using the mask has no effect. Only when bit 6 is a one as it is for lowercase letters is the input character altered. 13.2 The Inclusive OR Operator The inclusive OR operator I .
TÀI LIỆU LIÊN QUAN
Physico-chemical diversity analysis in lime [C. aurantiifolia (Christm.) Swingle], lemon (C. limon Burm. f.) and hill lemon (C. pseudolimon Tan.) species collected from the foothills of Himalaya, India
Bảng chuyển đổi thang đo nhiệt độ từ độ C sang độ F
F# Succinctly
Terminological variation, a means of identifying research topics from textsFidelia I B E K W E - S A N J U A N C R I S T A L - G R E S E C , Stendhal University, Grenoble France and Dept. o f Information & C o m m u n i c a t i o n I U T du Havre - B.P.
ĐỀ THI MẪU MÔN VẬT LÝ THI TUYỂN SINH ĐH, CĐ 2009
Dạng 9: XÁC ĐỊNH GIÁ TRỊ CỰC ĐẠI CỦA ĐIỆN ÁP HIỆU DỤNG KHI THAY ĐỔI L(HOẶC C, HOẶC f ) MÀ KHÔNG LIÊN QUAN ĐẾN CÔNG HƯỞNG. C L R
HTML5 FOR DUMmIES‰ Q U I C K R E F E R E N C E
B A S I C R E S E A R C H I N INFORMATION SCIENCE A N D TECHNOLOGY F O R AIR FORCE NEEDS
A Programmer’s Guide to ADO.NET in C#
Báo cáo " Quan điểm của C. Mac, F. Awnghen, V.I. Lenin về vấn đề tư hữu"
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.