2_hellowrld_spdr

2_hellowrld_spdr - Introduction to Computers and...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Introduction to Computers and Programming Prof. I. K. Lundqvist Lecture 2 In reply to Mud applications? unified? Reading: B: 156-171; FK: 34-61 Sept 8 2003 Palindrome example The von Neumann model Why is Ada good for mission critical What kind of tests? How will Ada integrate into rest of How to make CP more challenging? CP homework vs XXX? problems in CP knowledge and would like to skip introductory Ada homework exercises and get something more challenging to do! Today program 1. I want to do the regular homework 2. I feel confident in my programming Components of the hello world Step-by-step compilation exercise Creating the listing file using AdaGIDE Programming style The Feldman Spider Adventure editor hello.adb gnatcc hello.o hello.ali gnatbl hello.exe hello system libs Creating program in editor Compile program (F2) Bind / link (F3) Run program (F4) errors hello.lsb (Alt + F2) hello.adb [p. 33] WITH Ada.Text_IO; PROCEDURE Hello IS --| Last Modified: June 1998 BEGIN Ada.Text_IO.Put(Item => "Hello there. " ); Ada.Text_IO.Put(Item => "We hope you enjoy studying Ada!" ); Ada.Text_IO.New_Line; END Hello; --------------------------------------------------------------| A very simple program; it just displays a greeting....
View Full Document

Page1 / 10

2_hellowrld_spdr - Introduction to Computers and...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online