• Fundamentals of computing 1 - Lecture title: Conditional expressionFundamentals of computing 1 - Lecture title: Conditional expression

    Calculating addition, subtract, multiply, divide of two integer numbers as like that: Input a: 6 Input b: 8 Input the operator (+,-,*,/): * 6 * 8 = 48

    ppt39 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 915 | Lượt tải: 0

  • Fundamentals of computing 1 - Lecture title: Data type, variables, expressions, operatorsFundamentals of computing 1 - Lecture title: Data type, variables, expressions, operators

    You don't have to repeatedly type the same value; The value can be changed in a single location if necessary; A descriptive name for a constant makes the program easy to read Programming activity: Constants.java

    ppt36 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 896 | Lượt tải: 0

  • Fundamentals of Computing 1Fundamentals of Computing 1

    Introduction to Java Programming Introduction to Eclipse Basic Java programs with println statements Java building blocks Static methods Exercises

    ppt95 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1208 | Lượt tải: 0

  • C/C++ Programming - Lecture 13: TemplatesC/C++ Programming - Lecture 13: Templates

    Outline • Overloading Functions • Templates – Function Templates – Compiler Handling & Separate Compilation • Class Templates – Declaring – Constructors – Defining – Using • Project

    pdf75 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 913 | Lượt tải: 0

  • C/c++ programming - Lecture 12: Bits and pieces of C++C/c++ programming - Lecture 12: Bits and pieces of C++

    Survey • 1% extra credit overall • please fill out honestly (it’s anonymous, and won’t be looked at until after grades are in) • online course evaluation: fill out for this class, not for the lecture portion

    pdf72 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 995 | Lượt tải: 0

  • C/c++ programming - Lecture 11: PolymorphismC/c++ programming - Lecture 11: Polymorphism

    Outline • Review of Inheritance • Polymorphism – Limitations – Virtual Functions – Abstract Classes & Function Types – Virtual Function Tables – Virtual Destructors/Constructors • Application of Polymorphism • Project Alphas

    pdf64 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 911 | Lượt tải: 0

  • C/C++ programming - Lecture 10: InheritanceC/C++ programming - Lecture 10: Inheritance

    Outline • Code Reuse • Object Relationships • Inheritance – What is Inherited – Handling Access • Overriding • Homework and Project

    pdf92 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 909 | Lượt tải: 0

  • C/c++ programming - Lecture 9: Vectors, enumeration, overloading, and more!C/c++ programming - Lecture 9: Vectors, enumeration, overloading, and more!

    Project • project must be completed in groups (of two) – groups will be due October 29th on Piazza – if you don’t have a group, you’ll be assigned one • start thinking about: – who you want to work with – what sort of project you want to do – what you want to name your group

    pdf95 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 941 | Lượt tải: 0

  • C/c++ programming - Lecture 8: Classes in C++C/c++ programming - Lecture 8: Classes in C++

    class name • member variables • member functions – constructors • default parameters – accessors – mutators – auxiliary (private and public)

    pdf99 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 920 | Lượt tải: 0

  • C/C++ Programming - Lecture 7: C++ StreamsC/C++ Programming - Lecture 7: C++ Streams

    Homework 5 • Murder Mystery • heavy on use of streams – not everything you need was covered in class – look at the cplusplus.com pages on streams! • should be much easier (and shorter) than Homework 4B

    pdf88 trang | Chia sẻ: nguyenlam99 | Ngày: 05/01/2019 | Lượt xem: 1027 | Lượt tải: 0