|
object files, linking, 8
Object::Equals method (Object), 175–176
object-oriented programming, 15–19. See also classes; inheritance; objects
objects, 19. See also classes
attaching to exceptions, 186
constructors and destructors, defining, 97–101
defining relationships between, 107–113
destroying, 95–97, 118–120
dynamic memory management, 120–128
instance members, 101
instantiating (creating), 22, 95–97
inheritance hierarchy and, 138–139
memory management, 117, 120
Obsolete attribute, 533
ObsoleteAttribute class, 532–536
Odbc namespace (System::Data), 453
OK value (DialogResult), 323
OleDb namespace and classes (System::Data), 453–459
one-way decision testing, 65–69
OOP. See object-oriented programming
Open member (FileMode), 384
Open method (File, FileInfo), 389–390
OpenFileDialog class (System::Windows::Forms), 328
OpenOrCreate member (FileMode), 384
OpenRead, OpenText, OpenWrite methods (File, FileInfo), 389, 390
operations on managed arrays, 219–223
copying array elements, 221
searching among elements, 222
sorting elements, 223
operator keyword, 170
operators, 37–43
overloading, 165–182
important guidelines, 181
increment and decrement operators, 179–180
logical and relational operators, 173–175
operator functions, 171–173
reference types, 180–181
value types, 167–171
precedence and associativity, 41, 167
op_ functions. See also overloading functions
increment and decrement operators, 179–180
logical and relational operators, 173–175
op_Assign function, 177–179
overloading, 171–173
value types, 169
OR operators, 39–40, 169
OracleClient namespace (System::Data), 453
ordering array elements, 223
OuterXml property (XmlNode), 427
OutOfMemoryException class, 187
OverflowException class, 192
overloading functions, 61–62, 165–182
constructors, 98
guidelines, 181
operators, 171–180
reference types, 180–181
value types, 167–171
overriding functions, 140–144
OwnedForms property (Form), 293
OwnerDocument property (XmlDocument), 425
OwnerDocument property (XmlNode), 427
ownership, form, 296–297
|