Learn to program

231 102 0
Learn to program

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

... REFACE TO THE S ECOND E DITION Although I wanted to avoid needless OO jargon, I did try to make sure that if you need to learn a word, you learn the right one (You don’t want to have to learn. .. you are: your home directory If you want to change to a different directory, you use cd (No one wants to type change-directory, not even once I mean, I had to just then, to make a point, but in... those We want to go to your programs folder (or directory, or whatever) Assuming you’re still in your Desktop folder (if not, get there quick!), just this: mezzaluna:~/Desktop chris$ cd programs mezzaluna:~/Desktop/programs

Ngày đăng: 29/09/2018, 11:21

Mục lục

  • Contents

  • Preface to the Second Edition

  • Introduction

    • What Is Programming?

    • Programming Languages

    • The Art of Programming

    • Getting Started

      • Windows

      • Mac OS X

      • Linux

      • Numbers

        • Did It Work?

        • Introduction to puts

        • Integer and Float

        • Simple Arithmetic

        • A Few Things to Try

        • Letters

          • String Arithmetic

          • 12 vs. '12'

          • Problems

          • Variables and Assignment

          • Mixing It Up

            • Conversions

            • Another Look at puts

            • The gets Method

Tài liệu cùng người dùng

Tài liệu liên quan