Class Notes 09/14/06 -Language reference manual in CISAT Library. -New text book in the CIAST library. -When using FIREFOX you may not get the appropriate .exe extension upon downloading the compiler. -Email Dr. Adams if you notice that the notes are not on the website. -Get used to going to ADA 95 Reference Manual online. -When you declare a new type of an array, REMEBER TO DECLARE A VARIABLE OF THAT TYPE! -When you want to make a data file, make it a plain text file and then you can name it .in or .out -When you submit files to Dr. Adams name your files yourName1 or yourName2 with the number incrementing respectively -https://users.cs.jmu.edu/adamses/web is her website. -If your having problems send her a note or put it on the discussion board. -The command to go the next line on a read statement is Ada.text_io.skip_Line() -If you know there are only going to be n numbers, declare an integer constant representing the desired number of items -need a loop up to that constant -Alternative way other than looping -ada.integer_text_io.get(num1,num2,num3,num4,num5); -For blackboard digital dropbox, you must ADD and then SEND!!!! -You can not index just an integer, you have to declare a array type to be able to index -Slides from today's lecture on chapter two will be linked on the web page. --DR.ADAMS YOU WENT TO FAST FOR ME ABOUT THE ONE'S COMPLIMENT AND TWO'S COMPLIMENT NOTES. COULD YOU ENTER THAT HERE? -One's Compliment you have all positive numbers and 0 and a -0 -Here is an example(Dr. Adam's fill this in) -plus and minus sign are overloaded operators -between two numbers means subtraction -before a singal number means negative -/= is a not equal (in other words it is equivalent to != in JAVA) -you get attributes when talking about integers using the ticks and the tick(things) being attributes -the advatage of ticks is you don't have to remember where your beginning or end is of that array -Scalar data type has values which are ordered and each value is atomic -Character -Naturals -Floats -boolean is an enumerated data type which is ordered -Discrete(Ordinal) data type in which each value (Except the first and last) must have a unique predecessor and successor -Integer -Composite data type is a data type whose elements are composed of multiple data items(must have component parts) -String (it has an array of characters) -Date -Stack operations include POP, PUSH, PEAK, ISEMPTY, or ISFULL -You NEED TO go back and look at the slides and understand them! -GO look in the language reference manual for exceptions and figure out how to handle errors.