dr. salih yurttas - yurttas@cs.tamu.edu
programming languages - design principles, implementation constructs
c++

  1. abstraction mechanisms: classes and operator overloading

    1. class/object construction - operator overloading

      1. S - [ string class with OCCF and operator overloading ]

        S class will compile to success.

        s_00.cpp will not compile to success. why?
        cout is overloaded only for built-in types.


1 | basic facilities << 3 >> class derivation | 5 | 6 | 7 | 8
computer science | texas a&m university

Valid XHTML 1.0 Transitional