代码搜索:Programs

找到约 10,000 项符合「Programs」的源代码

代码结果 10,000
www.eeworm.com/read/210671/15193853

cpp fig09_09.cpp

// Fig. 9.9: fig09_09.cpp // Driver for class Circle #include using std::cout; using std::endl; #include "point2.h" #include "circle2.h" int main() { Circle c( 2.5, 37, 43
www.eeworm.com/read/210671/15193858

h hourly.h

// Fig. 9.5: hourly.h // Definition of class HourlyWorker #ifndef HOURLY_H #define HOURLY_H #include "employ.h" class HourlyWorker : public Employee { public: HourlyWorker( const char*,
www.eeworm.com/read/210671/15193894

cpp fig07_07.cpp

// Fig. 7.7: fig07_07.cpp // Using the this pointer to refer to object members. #include using std::cout; using std::endl; class Test { public: Test( int = 0 );
www.eeworm.com/read/210671/15193930

cpp fig07_04.cpp

// Fig. 7.4: fig07_04.cpp // Demonstrating composition: an object with member objects. #include using std::cout; using std::endl; #include "emply1.h" int main() { Employee
www.eeworm.com/read/210671/15193934

h time2.h

// Fig. 6.8: time2.h // Declaration of the Time class. // Member functions are defined in time2.cpp // preprocessor directives that // prevent multiple inclusions of header file #ifndef TIME2_H
www.eeworm.com/read/210671/15193938

h time1.h

// Fig. 6.5: time1.h // Declaration of the Time class. // Member functions are defined in time1.cpp // prevent multiple inclusions of header file #ifndef TIME1_H #define TIME1_H // Time abst
www.eeworm.com/read/210671/15193941

h time1.h

// Fig. 6.6: time1.h // Declaration of the Time class. // Member functions are defined in time1.cpp // preprocessor directives that // prevent multiple inclusions of header file #ifndef TIME1_H
www.eeworm.com/read/210671/15193946

h time4.h

// Fig. 6.11: time4.h // Declaration of the Time class. // Member functions defined in time4.cpp // preprocessor directives that // prevent multiple inclusions of header file #ifndef TIME4_H
www.eeworm.com/read/210671/15193958

cpp fig06_07.cpp

// Fig. 6.7: fig06_07.cpp // Demonstrating a utility function // Compile with salesp.cpp #include "salesp.h" int main() { SalesPerson s; // create SalesPerson object s s.ge
www.eeworm.com/read/210671/15193964

h stack_c.h

// Fig. 15.11: stack_c.h // Definition of Stack class composed of List object #ifndef STACK_C #define STACK_C #include "list.h" template< class STACKTYPE > class Stack { public: // no con