ECE 101 Lecture Notes - Lecture 12: Graphical User Interface
Document Summary
We are going to start working with robots . We will form groups and have fun programing robots of type scribbler s2 . For the exam you are allowed to have one sheet of whatever you want. You can get the source code, modify it as you want it. It means to selectively change what you want to change from the inherited code. Inheritance = [old class + modification] in a new class. Then let"s say you want to modify these codelines or add something that is not in fraction, you can use inheritance: If you call class myfraction now, it will do both what fraction and myfraction classes (combined) do. You might want to define a class that does something basic and then derive classes that add complex features to the basic function. C++ is a static language: you have to declare the type of every variable. 100 billion lines of code running the world economy.