ENGLISH

Introduction to Ada

Book information

Publisher
AdaCore
Year
2022
Language
english
Format
PDF
Filesize
901 kB (922532 bytes)
Pages
249\249
Time added
2022-07-24 07:42:27

Description

Introduction History Ada today Philosophy SPARK Imperative language Hello world Imperative language - If/Then/Else Imperative language - Loops For loops Bare loops While loops Imperative language - Case statement Imperative language - Declarative regions Imperative language - conditional expressions If expressions Case expressions Subprograms Subprograms Subprogram calls Nested subprograms Function calls Parameter modes Subprogram calls In parameters In out parameters Out parameters Forward declaration of subprograms Renaming Modular programming Packages Using a package Package body Child packages Child of a child package Multiple children Visibility Renaming Strongly typed language What is a type? Integers Operational semantics Unsigned types Enumerations Floating-point types Basic properties Precision of floating-point types Range of floating-point types Strong typing Derived types Subtypes Subtypes as type aliases Records Record type declaration Aggregates Component selection Renaming Arrays Array type declaration Indexing Simpler array declarations Range attribute Unconstrained arrays Predefined array type: String Restrictions Returning unconstrained arrays Declaring arrays (2) Array slices Renaming More about types Aggregates: A primer Overloading and qualified expressions Access types (pointers) Allocation (by type) Dereferencing Other features Mutually recursive types More about records Dynamically sized record types Records with discriminant Variant records Fixed-point types Decimal fixed-point types Fixed-point types Character types Privacy Basic encapsulation Abstract data types Limited types Child packages & privacy Generics Introduction Formal type declaration Formal object declaration Generic body definition Generic instantiation Generic packages Formal subprograms Example: I/O instances Example: ADTs Example: Swap Example: Reversing Example: Test application Exceptions Exception declaration Raising an exception Handling an exception Predefined exceptions Tasking Tasks Simple task Simple synchronization Delay Synchronization: rendez-vous Select loop Cycling tasks Protected objects Simple object Entries Task and protected types Task types Protected types Design by contracts Pre- and postconditions Predicates Type invariants Interfacing with C Multi-language project Type convention Foreign subprograms Calling C subprograms in Ada Calling Ada subprograms in C Foreign variables Using C global variables in Ada Using Ada variables in C Generating bindings Adapting bindings Object-oriented programming Derived types Tagged types Classwide types Dispatching operations Dot notation Private & Limited Classwide access types Standard library: Containers Vectors Instantiation Initialization Appending and prepending elements Accessing first and last elements Iterating Finding and changing elements Inserting elements Removing elements Other Operations Sets Initialization and iteration Operations on elements Other Operations Indefinite maps Hashed maps Ordered maps Complexity Standard library: Dates & Times Date and time handling Delaying using date Real-time Benchmarking Standard library: Strings String operations Limitation of fixed-length strings Bounded strings Unbounded strings Standard library: Files and streams Text I/O Sequential I/O Direct I/O Stream I/O Standard library: Numerics Elementary Functions Random Number Generation Complex Types Vector and Matrix Manipulation Appendices Appendix A: Generic Formal Types Indefinite version Appendix B: Containers

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF