Teach Yourself Borland C++ in 14 Days

Total Page:16

File Type:pdf, Size:1020Kb

Teach Yourself Borland C++ in 14 Days At A Glance 1 WEEK 1 2 1 3 4 At a Glance 5 In Week 1 you will get a start on learning how to write Windows programs in C++. The C++ language is not an easy language to learn. It is, however, the standard programming language in many corporations and governments around the world. Learning C++ might not be the easiest task you could attempt to tackle, but it should be very rewarding, both intellectually, and, eventually, monetarily. 6 Your first four days will be spent learning about the basics of the C++ language. As you work through the first four chapters, you will write simple test programs, each of which will help you solidify a particular feature of the C++ language. I warn you, though, that these programs will probably not be the type of program that you purchased C++Builder to write. The test programs for the first four days will be console 7 applications. These programs work just like DOS programs. They won’t Untitled-16 1 1/19/99, 1:01 PM P2/V5/Swg2 TY C++ Builder in 14 Days 31051-1 Lenser 1.14.97 At a GlanceWK1 LP#3 2 Week 1 have any flash or glitter. You probably won’t be terribly impressed. These programs will, however, help to teach you the basics of C++, and that is what the first four days of this book are about. Starting on Day 5 you’ll begin to learn about some of the things that make the visual programming aspect of C++Builder the great tool that it is. We will talk about frameworks and what a framework means to you as a Windows programmer. On Day 5 you will build a simple test program using C++Builder’s visual programming tools. After that we will spend a couple days going over the C++Builder IDE so that you can become familiar with how the entire C++Builder IDE works together to make your programming tasks easier. This is where things start to get more interesting. You will get an opportunity to write some working Windows programs in the last part of this first week. So, with that in mind, let’s get to it. Untitled-16 2 1/19/99, 1:01 PM P2/V5/Swg2 TY C++ Builder in 14 Days 31051-1 Lenser 1.14.97 At a GlanceWK1 LP#3 Getting Your Feet Wet 3 Week 1 1 Day 1 Getting Your Feet Wet by Kent Reisdorph Congratulations—you’ve chosen one of today’s hottest new programming tools! Before you can jump into using all of what C++Builder has to offer, though, you’ll need to learn a little about C++ first. In this chapter you will find ■ A quick tour of C++Builder ■ Information about how to write a Win32 console-mode application ■ An introduction to the C++ language ■ Facts about C++ variables and data types ■ Information about functions in C++ (including the main() function) ■ A discussion of arrays Untitled-10 3 1/19/99, 12:48 PM P2/V5/swg2 TY C++ Builder in 14 Days 31051-1Lenser 1.15.97 CH01 LP#4 4 Day 1 What Is C++Builder? By now you know that C++Builder is Borland’s hot new rapid application development (RAD) product for writing C++ applications. With C++Builder you can write C++ Windows programs more quickly and more easily than was ever possible before. You can create Win32 console applications or Win32 GUI (graphical user interface) programs. When creating Win32 GUI applications with C++Builder, you have all the power of C++ wrapped up in a RAD environment. What this means is that you can create the user interface to a program (the user interface means the menus, dialog boxes, main window, and so on) using drag-and- drop techniques for true rapid application development. You can also drop OCX controls on forms to create specialized programs such as Web browsers in a matter of minutes. C++Builder gives you all of this, but you don’t sacrifice program execution speed because you still have the power that the C++ language offers you. I can hear you saying, “This is going to be so cool!” And guess what? You’re right! But before you go slobbering all over yourself with anticipation, I also need to point out that the C++ language is not an easy one to master. I don’t want you to think that you can buy a program like C++Builder and be a master Windows programmer overnight. It takes a great deal of work to be a good Windows programmer. C++Builder does a great job of hiding some of the low-level details that make up the guts of a Windows program, but it cannot write programs for you. In the end, you must still be a programmer, and that means you have to learn programming. That can be a long, uphill journey some days. The good news is that C++Builder can make your trek fairly painless and even fun. Yes, you can work and have fun doing it! So roll up your sleeves and get your hiking shoes on. C++Builder is cool, so have fun. A Quick Look at the C++Builder IDE This section contains a quick look at the C++Builder IDE. We’ll give the IDE a once-over here, and we’ll examine it in more detail on Day 6, “The C++Builder IDE Explored: Projects and Forms.” Because you are tackling Windows programming, I’ll assume you are advanced enough to have figured out how to start C++Builder. When you first start the program, you are presented with both a blank form and the IDE, as shown in Figure 1.1. The C++Builder IDE (which stands for integrated development environment) is divided into three parts. The top window might be considered the main window. It contains the speedbar on the left and the Component Palette on the right. The speedbar gives you one-click access to tasks like opening, saving, and compiling projects. The Component Palette contains a wide array of components that you can drop onto your forms. (Components are things like text labels, edit controls, list boxes, buttons, and the like.) For convenience, the components Untitled-10 4 1/19/99, 12:48 PM P2/V5/swg2 TY C++ Builder in 14 Days 31051-1 Lenser 1.15.97 CH01 LP#4 Getting Your Feet Wet 5 are divided into groups. Did you notice the tabs along the top of the Component Palette? Go ahead and click on the tabs to explore the different components available to you. To place a component on your form, you simply click the component’s button in the Component Palette and then click on your form where you want the component to appear. Don’t worry 1 about the fact that you don’t yet know how to use components. We’ll get to that in due time. When you are done exploring, click on the tab labeled Standard, because you’ll need it in a moment. Figure 1.1. The C++Builder IDE and the initial blank form. A component is a self-contained piece of binary software that performs some specific NEW TERM predefined task, such as a text label, an edit control, or a list box. Below the speedbar and Component Palette and glued to the left side of the screen is the Object Inspector. It is through the Object Inspector that you modify a component’s properties and events. You will use the Object Inspector constantly as you work with C++Builder. The Object Inspector has one or two tabs, depending on the component currently selected. It always has a Properties tab. A component’s properties control how the component operates. For example, changing the Color property of a component will change the background color of that component. The list of available properties varies from component to component, although components usually have several common elements (Width and Height properties, for instance). Untitled-10 5 1/19/99, 12:48 PM P2/V5/swg2 TY C++ Builder in 14 Days 31051-1Lenser 1.15.97 CH01 LP#4 6 Day 1 NEW TERM A property determines the operation of a component. Usually the Object Inspector has an Events tab in addition to the Properties tab. Events occur as the user interacts with a component. For example, when a component is clicked, an event fires and tells Windows that the component was clicked. You can write code that responds to those events, performing specific actions when an event occurs. As with properties, the events that you can respond to vary from component to component. An event is a method that is invoked in a component as a result of that component’s NEW TERM interaction with the user. To the right of the Object Inspector is the C++Builder workspace. The workspace initially displays the Form Editor. It should come as no surprise that the Form Editor allows you to create forms. In C++Builder a form represents a window in your program. The form might be the program’s main window, a dialog box, or any other type of window. You use the Form Editor to place, move, and size components as part of the form creation process. Hiding behind the Form Editor is the Code Editor. The Code Editor is where you type code when writing your programs. The Object Inspector, Form Editor, Code Editor, and Component Palette work interactively as you build applications.
Recommended publications
  • Embrace and Extend Approach (Red Hat, Novell)
    Integrated Development Environments (IDEs) Technology Strategy Chad Heaton Alice Park Charles Zedlewski Table of Contents Market Segmentation.............................................................................................................. 4 When Does the IDE Market Tip? ........................................................................................... 6 Microsoft & IDEs ................................................................................................................... 7 Where is MSFT vulnerable?................................................................................................. 11 Eclipse & Making Money in Open Source........................................................................... 12 Eclipse and the Free Rider Problem ..................................................................................... 20 Making Money in an Eclipse World?................................................................................... 14 Eclipse vs. Microsoft: Handicapping the Current IDE Environment ................................... 16 Requirements for Eclipse success......................................................................................... 18 2 Overview of the Integrated Development Environment (IDE) Market An Integrated Development Environment (IDE) is a programming environment typically consisting of a code editor, a compiler, a debugger, and a graphical user interface (GUI) builder. The IDE may be a standalone application or may be included as part of one or more existing
    [Show full text]
  • VERSION 2.0 Referene MANUAL
    VERSION 2.0 REFERENe MANUAL BORlAnD INTERNATIONAL Borland International 4113 Scotts Valley Drive Scotts Valley, California 95066 Copyright Notice© This software package and manual are copyrighted 1983, 1984 by BORLAND INTERNATIONAL Inc. All rights reserved worldwide. No part of this publication may be reproduced, transmitted, transcribed, stored in any retrieval system, or translated into any language by any means without the express written per­ mission of BORLAND INTERNATIONAL Inc., 4113 Scotts Valley Drive, Scotts Valley, CA 95066, USA. Single CPU License The price paid for one copy of TURBO Pascal licenses you to use the product on one CPU when and only when you have signed and returned the License Agreement printed in this book. Disclaimer Borland International makes no warranties as to the contents of this manual and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose. Borland International further reserves the right to make changes to the specifications of the program and contents of the manual without obligation to notify any person or organization of such changes. Fifth edition, October 1984 Printed in the United States of America 98765 TABLE OF CONTENTS INTRODUCTION ............................................. 1 The Pascal Language .........................................1 TURBO Pascal ..............................................1 Structure of This Manual ..................................... 2 Typography ............................................... 3 Syntax Descriptions
    [Show full text]
  • Adapting MSP to Microsoft C++ ©James T. Smith, 1999 1. Introduction A. General Comments I. Purpose
    Adapting MSP to Microsoft C++ ©James T. Smith, 1999 1. Introduction a. General comments i. Purpose (1) MSP was developed in a PC environment with the original version of Borland C++, then adapted in several stages to Version 5.0, the standard for this book. Many readers, however, prefer to or must use a different compiler. The environment most frequently mentioned that is somewhat close to the book’s is Microsoft’s. This file describes my adaptation of MSP as a suite of Microsoft Visual C++ Win32 Console Applications. (2) It’s an adaptation guide, not a completed product. Most MSP features described in this book work under the adaptation, but it has not been used for further development. With it, you can see how these features work in your Microsoft environment. To use it for a major project, however, you’ll probably want to select only the appropriate MSP modules. You’ll need to test the adaptation much more thoroughly, and probably add minor cor- rections as needed by your specific application. ii. Major differences (1) Microsoft’s complex mathematics module is implemented with templates. That adds more levels of implicit conversions for the compiler to consider when resolving overloaded function declarations. Many more ambiguities would result, and some methods MSP uses to resolve them would no longer work. This would cause so many changes that you’d lose sight of the rest. So the adaptation contains a completely rewritten complex module. (2) Microsoft handles hardware faults, such as overflow detected by the floating-point processor, by throwing“structured exceptions”.
    [Show full text]
  • Delphi 8 for .NET HOE WERKT DELPHI 8 for .NET EN WAT ZIJN DE VERSCHILLEN MET VISUAL STUDIO.NET?
    Bob Swart is auteur, trainer en consultant bij Bob Swart Training & Consultancy. Delphi 8 for .NET HOE WERKT DELPHI 8 FOR .NET EN WAT ZIJN DE VERSCHILLEN MET VISUAL STUDIO.NET? Dit artikel introduceert Delphi 8 for .NET, en laat zien hoe we .NET-toepassingen kunnen ontwikkelen met de nieuwste IDE voor het .NET Framework. Omdat de meeste lezers op de hoogte zullen zijn van de mogelijkheden van Visual Studio.NET, gaat dit artikel met name in op de verschillen, zowel in positieve als wat minder positieve zin. elphi 8 for the Microsoft .NET Framework is de officiële niet alleen als twee druppels water op die van Visual Studio, maar naam, maar de meeste ontwikkelaars noemen het gewoon is daadwerkelijk de designer van Microsoft. Dat heeft als voordeel DDelphi 8 of Delphi 8 for .NET (alleen Delphi for .NET is dat gebruikers van Visual Studio zonder al teveel problemen de niet volledig, want bij Delphi 7 zat eind 2002 al een Delphi for .NET proefversie van Delphi 8 for .NET kunnen gebruiken om eens te preview command-line compiler, die echter niet te vergelijken is met proeven hoe het werkt.1 wat nu als Delphi 8 for .NET beschikbaar is). Alhoewel Delphi 8 for .NET een relatieve nieuwkomer is op het .NET Framework, geldt dat In afbeelding 1 zien we de Object Inspector, WinForms Designer, niet voor de taal Delphi zelf. Delphi 1.0 wordt op Valentijns dag in een Tool Palette met componenten en rechtsboven een venstertje 1995 gelanceerd, en was in feite de 8ste generatie van Turbo Pascal waarin je met de Project Manager, Model View (daarover later) of compiler, die het eerste daglicht ziet in het begin van de 80-er jaren.
    [Show full text]
  • RAD Studio, Delphi, C++Builder XE8 Feature Matrix
    Each feature in the following table has an indication if it is available in Delphi and/or C++Builder . RAD Studio editions include both languages. Each column covers multiple, similar editions, with any difference specifically called out. Community edition is available only for single personalities and has a limited license. Some of the features are only available for download from the IDE in the GetIt Package Manager, requiring an Internet connection. TABLE OF CONTENT INTEGRATED COMPILERS AND TOOLCHAINS APPLICATION PLATFORMS, INTEGRATED FRAMEWORKS, LICENSING AND TOOL MANAGEABILITY DESIGNERS AND SDKS FMX APPLICATION PLATFORM (FIREMONKEY) VISUAL COMPONENT LIBRARY (VCL) COM/DCOM SUPPORT INTERNET OF THINGS (IOT) SUPPORT VISUAL LIVEBINDINGS INTEGRATED BUILD TOOLS AND PROJECT SUPPORT RECENT C++ LANGUAGE AND CORE RTL FEATURES RECENT DELPHI LANGUAGE AND CORE RTL FEATURES INTEGRATED DEVELOPMENT ENVIRONMENT SHARED RUNTIME LIBRARY FEATURES AND DEVELOPER PRODUCTIVITY SOURCE CODE MANAGEMENT INTERNATIONAL DEVELOPMENT REFACTORINGS UML MODELING INTEGRATED DEBUGGING INTEGRATED UNIT TESTING DOCUMENTATION DATABASE APPLICATION DEVELOPMENT AND CONNECTIVITY FIREDAC MULTI-DEVICE DATA ACCESS LIBRARY DBEXPRESS AND IBX RAD SERVER DATASNAP MULTI-TIER DATABASE TOOLS INCLUDED DATABASES REST CLIENT LIBRARY AND BAAS CLOUD SUPPORT XML AND SOAP IP*WORKS! COMMUNICATION COMPONENTS FILE COMPARE WITH BEYOND COMPARE TEXT COMPARE LOGGING WITH CODESITE EXPRESS FASTREPORT REPORTING SOLUTIONS TEECHART CHARTING COMPONENTS DATABASE APPLICATION DEVELOPMENT DATABASE DESIGN AND DEVELOPMENT
    [Show full text]
  • AIM104-Software Library
    2192-09193-000-000 AIM104-Software Library Software A Utility Disk is supplied with your AIM104. It contains a host of software utilities designed specifically for each AIM104. Please refer to the README.TXT file on the disk for further information. It also includes a test program EXAMP-01.EXE which may be used to confirm access to the board. Introduction Arcom Control Systems produces a complete range of high quality Input/Output (I/O) cards for the PC104 bus. In order to support these I/O cards as fully as possible a complimentary set of high quality software support products is also available. This software library forms part of the software support. This software support has been developed to support Borland C++ versions 3.1 and 4.52, running on 386 CPUs, Pentium CPUs and Arcom Target boards, in both DOS and Windows operating systems. It is presented to the user in the form of standard static library files. This library can then be incorporated into custom application code giving the user all the software facilities needed to use all the hardware features included on an Arcom PC104 I/O card. This manual contains the basic details of what is contained within this library. For a more detailed description please read the Word 2.0 file genman.doc contained in the DOCS sub-directory of the installation disk or in the DOCS sub-directory of the directory you install to. The list below shows the boards supported within the scope of this library. All commonly used modules are listed, however those that fall outside this list are not supported within this software library.
    [Show full text]
  • Why Is Borland Moving Towards Eclipse? by Mike Rozlog of Borland
    Why is Borland Moving Towards Eclipse? by Mike Rozlog of Borland It is normally bad practice to answer a question with a question, but read the article and find out why it is the perfect time to ask the following question. What is development? This is one of the most important questions being asked at Borland. Development as defined by the dictionary states: it is a noun that has synonyms including evolution, augmentation, and maturation. Taking the definition of development and its synonyms and applying them to the question of "Why is Borland moving towards Eclipse?" reveals answers that many people may not have thought about. First, it is always important to understand the history behind a current position. Take for example an auto race. Usually the winner is not the person that initially leads from the starting position; it is a person who has made important adjustments throughout the race to put them into the best position to win. Now, this is not to say that a poleleader can not win the race, it just means they have to make other adjustments throughout the race to also put themselves into a position of winning it. Understanding that analogy, it is no wonder why Borland is going to start to use Eclipse as a customer facing technology. Keep in mind that Eclipse is not just a JBuilder issue at Borland; it will be used in various areas that have interaction with the customer. However, it is important to understand the background of JBuilder and put it into perspective of why it has been very important over the years, for supporting the Java platform.
    [Show full text]
  • Lotus V. Borland: Defining the Limits of Software Copyright Protection Jason A
    Santa Clara High Technology Law Journal Volume 12 | Issue 1 Article 7 January 1996 Lotus v. Borland: Defining the Limits of Software Copyright Protection Jason A. Whong Andrew T. S. Lee Follow this and additional works at: http://digitalcommons.law.scu.edu/chtlj Part of the Law Commons Recommended Citation Jason A. Whong and Andrew T. S. Lee, Lotus v. Borland: Defining the Limits of Software Copyright Protection, 12 Santa Clara High Tech. L.J. 207 (1996). Available at: http://digitalcommons.law.scu.edu/chtlj/vol12/iss1/7 This Case Note is brought to you for free and open access by the Journals at Santa Clara Law Digital Commons. It has been accepted for inclusion in Santa Clara High Technology Law Journal by an authorized administrator of Santa Clara Law Digital Commons. For more information, please contact [email protected]. CASENOTE LOTUS V. BORLAND: DEFINING THE LIMITS OF SOFTWARE COPYRIGHT PROTECTION Lotus Development Corporationv. BorlandInternational, Inc., 49 F.3d 807 (1st Cir. 1995)* Jason A. Whongt and Andrew T.S. Leet TABLE OF CONTENTS INTRODUCTION .............................................. 207 BACKGROUND .............................................. 209 D ISCUSSION ................................................ 211 A. Method of Operation ................................ 211 B. Computer Associates International,Inc. v. Altai, Inc... 215 CONCLUSION ................................................ 216 "[E]verything ... has been done already ... who are we to improve upon them? We can only attempt, respectfally, to repeat."' INTRODUCTION On January 16, 1996, only eight days after hearing oral argu- ments in the case, an equally divided2 Supreme Court let stand the First Circuit's decision in Lotus Development Corp. v. Borland Inter- * Copyright @ 1995 Jason A. Whong and Andrew T.S.
    [Show full text]
  • Appendix 1 the Borland Pascal Package
    Section 1. Installation 555 Appendix 1 The Borland Pascal Package Section 1. Installation When you open your carton of Borland Pascal, you may be frightened by the tens of kilos of books and mountain of disks. This Appendix will get you started on installation and use of the system to write your Pascal programs. Even if you have already installed Borland Pascal and are using it, you may find some useful tips here, so please thumb through these pages. (There is much useful information in the Borland Pascal User's Guide, which is in your package.) For starters, your computer should have a goodly chunk of free disk space in one hard disk partition. If you install the complete Borland Pascal system, that will take about 30M. The programs with this book will fill about 2M, and when you start writing programs, who knows? Before you start installation, decide which partition to use, and note how much free disk space is available. Don't push a partition to its absolute limit. Start the "Install" program by inserting Disk 1 into the A: drive and typing A:INSTALL <Enter> (By the time this book appears you will probably be able to acquire BP on CD­ ROM and install it that way.) The "Install" program gives you lots of options, and explains what it is doing as it runs. If you have adequate disk space, the easiest course is to install everything. If you want to install only what you need for using this book, when the "Install" program prompts you for what to install/omit, you can omit the Windows version, the Assembler, the Profiler, the Debugger, the Turbo Vision package, and the On-line compilers.
    [Show full text]
  • Husain Gholoom
    E-mail: [email protected] Mobile : (512) – 903-8588 Husain Gholoom Professional Experience Computer Science Lecturer August 2012 - Current Computer Science Department Texas State University – San Marcos • Teaching Fundamentals of Computer Science , Foundations of Computer Science , Data Structures , and Unix Classes Computer Science Lecturer September 2005 – September / 2010 Computer Science Department PAAET - Kuwait • Taught Operating Systems, Java, Advanced Java, Advanced COBOL, Pascal, Advanced Pascal, and Databases Management Systems , Introduction to Computer Science , and Computer Science Application ( Microsoft Office Suite – Word , Excel, PowerPoint, Access ) courses • Prepared class schedule for the Computer Science Department • Served as member of Higher Committee for Revision and Follow-up of Class Scheduling and Final Examination for College of Business Studies • Advised and Provided students with information to assist them in successfully completing the requirements for degree within the Computer Science Department • Designed, developed, and implemented a website for College of Business Studies, and also implemented Faculty Database Management System for PAAET using Microsoft Access Instructor & Vice Chairman February 2001 – August 2005 Computer Science Department PAAET - Kuwait • Taught advanced COBOL, Pascal, and Databases courses • Resolved Computer Science Departmental issues with students and various other departments of the college • Served as a member of recruitment committee • Prepared class schedule for the Computer
    [Show full text]
  • Mystic Microsoft
    Kraig Brockschmidt Mystic Microsoft A Journey of Transformation in the Halls of High Technology Kraig Brockschmidt You’re invited to copy, print, and share this book… It’s free and it’s legal Mystic Microsoft is published under the Creative Commons Attribution-Noncommercial- No Derivative Works 2.5 License (see next page) This means you may freely and legally share, copy, distribute, and display this book without the need to worry about lawyers, royalties, and all that sort of stuff. This book’s website (www.mysticmicrosoft.com) even gives you all the files you need to print and bind your own copies. Of course, you are not allowed to make any changes to this work, nor are you allowed to use it for commercial purposes or profit from it in any way without permission from the author. As this book is offered freely, readers are encouraged, though not required, to reciprocate in two ways: (1) Express gratitude to the author by making a monetary contribution to the author’s work and/or writing a positive testimonial about the book with permission to use your words in promotional activities. See www.mysticmicrosoft.com for details or write to the author’s address on the next page. (2) “Pay it forward” by sharing the book with others and/or making a gift of money or volunteered time to a worthy cause of your choice. So that these gifts do not go unnoticed, please inform the author of your gifts via www.mysticmicrosoft.com (or regular mail) so the website can show the positive contributions that this work has inspired.
    [Show full text]
  • Pascalabc.NET (Версия 3.0)
    К.Ю. Поляков Новые возможности PascalABC.NET (версия 3.0) По материалам С.С. Михалковича (http://pascalabc.net) К.Ю. Поляков, 2015 http://kpolyakov.spb.ru Новые возможности PascalABC.NET 2 «Стандартный» Паскаль сегодня . классический учебный язык . популярен в школах России . хватает для сдачи ЕГЭ Тенденции в программировании: . Размер программы и скорость работы не критичны . Важна скорость разработки и надёжность . Нет современных типов данных (словари, списки, стеки и т.д.) . Нет высокоуровневых средств . Нет стандартных библиотек (типа STL) К.Ю. Поляков, 2015 http://kpolyakov.spb.ru Новые возможности PascalABC.NET 3 Паскаль сегодня: среды . АЛГО (В. Петрив) Python . Delphi C# • цена ??? • тяжеловесная (4 Гбайт) . Free Pascal • оболочка в стиле 1990-х • по пути Delphi • практически не развивается . PascalABC.NET • поддержка «старого» Паскаля • новые конструкции языка • новые структуры данных (коллекции) • использование библиотек .NET К.Ю. Поляков, 2015 http://kpolyakov.spb.ru Новые возможности PascalABC.NET (версия 3.0) Средства на каждый день К.Ю. Поляков, 2015 http://kpolyakov.spb.ru Новые возможности PascalABC.NET 5 Внутриблочные переменные begin var x: integer = 1; begin Область var y: integer; действия y y := x + 2; writeln(y); end; end. ! Понадобилась переменная – описал! К.Ю. Поляков, 2015 http://kpolyakov.spb.ru Новые возможности PascalABC.NET 6 Внутриблочные переменные в циклах for var i:=1 to 10 do begin writeln(i*i); Область ... действия i end; К.Ю. Поляков, 2015 http://kpolyakov.spb.ru Новые возможности PascalABC.NET 7 Автовывод типов begin var p := 1; // integer var t := 1.234; // real var s := 'Привет!'; // string // чтение с клавиатуры var n := ReadInteger('Введите n:'); var x := ReadReal; ..
    [Show full text]