Danh mục

C++LanguageTutorial

Số trang: 0      Loại file: pdf      Dung lượng: 1.03 MB      Lượt xem: 7      Lượt tải: 0    
Hoai.2512

Hỗ trợ phí lưu trữ khi tải xuống: miễn phí Tải xuống file đầy đủ (0 trang) 0
Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

lập trình là không giới hạn chỉ in văn bản đơn giản trên màn hình. Để đi xa hơn một chút trênvà để trở thành có thể viết các chương trình thực hiện nhiệm vụ hữu ích thực sự tiết kiệm chúng tôi làm việc chúng ta cần phải giới thiệukhái niệm của biến.Hãy để chúng tôi nghĩ rằng tôi yêu cầu bạn giữ nguyên số 5 trong bộ nhớ tinh thần của bạn, và sau đó tôi yêu cầu bạn ghi nhớ cũngsố 2 cùng một lúc....
Nội dung trích xuất từ tài liệu:
C++LanguageTutorial cplusplus.com C++LanguageTutorial Writtenby:JuanSoulié Lastrevision:June,2007 http://www.cplusplus.com/doc/tutorial/ Availableonlineat: Theonlineversionisconstantlyrevisedandmaycontaincorrectionsandchanges TheC++LanguageTutorial Thisdocumentanditscontentiscopyrightofcplusplus.com©cplusplus.com,2008.Allrightsreserved.Anyredistributionorreproductionofpartorallofthecontentinanyformisprohibitedotherthantoprintapersonalcopyoftheentiredocumentordownloadittoalocalharddisk,withoutmodifyingitscontentinanyway(including,butnotlimitedto,thiscopyrightnotice).Youmaynot,exceptwithexpresswrittenpermissionfromcplusplus.com,distributethecontentofthisdocument.Normayyoutransmititorstoreitinanyotherwebsiteorotherformofelectronicretrievalsystem. 2 © cplusplus.com 2008. All rights reserved TheC++LanguageTutorial TableofcontentsTableofcontents.................................................................................................................................3Introduction ........................................................................................................................................5 . Instructionsforuse...................................................................................................................................5BasicsofC++........................................................................................................................................7 Structureofaprogram............................................................................................................................. 7 Variables.DataTypes.............................................................................................................................. 11 Constants................................................................................................................................................17 Operators................................................................................................................................................21 BasicInput/Output .................................................................................................................................29 .ControlStructures..............................................................................................................................34 ControlStructures...................................................................................................................................34 Functions(I)............................................................................................................................................41 Functions(II)...........................................................................................................................................47Compounddatatypes........................................................................................................................54 Arrays......................................................................................................................................................54 CharacterSequences................................ ...

Tài liệu được xem nhiều: