代码搜索:Programs

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

代码结果 10,000
www.eeworm.com/read/188512/8532839

cpp fig10_09.cpp

// Fig. 10.9: fig10_09.cpp // Program to test class Increment. #include using std::cout; #include "Increment.h" // include definition of class Increment int main() { Increment
www.eeworm.com/read/188512/8532897

h date.h

// Fig. 9.17: Date.h // Declaration of class Date. // Member functions are defined in Date.cpp // prevent multiple inclusions of header file #ifndef DATE_H #define DATE_H // class Date defin
www.eeworm.com/read/188512/8532900

h time.h

// Fig. 9.14: Time.h // Declaration of class Time. // Member functions defined in Time.cpp // prevent multiple inclusions of header file #ifndef TIME_H #define TIME_H class Time { publ
www.eeworm.com/read/188512/8532907

h createanddestroy.h

// Fig. 9.11: CreateAndDestroy.h // Definition of class CreateAndDestroy. // Member functions defined in CreateAndDestroy.cpp. #include using std::string; #ifndef CREATE_H #define CRE
www.eeworm.com/read/188512/8532914

cpp fig09_07.cpp

// Fig. 9.7: fig09_07.cpp // Demonstrating a utility function. // Compile this program with SalesPerson.cpp // include SalesPerson class definition from SalesPerson.h #include "SalesPerson.h"
www.eeworm.com/read/188512/8532968

cpp fig08_27.cpp

// Fig. 8.27: fig08_27.cpp // Card shuffling and dealing program. #include "DeckOfCards.h" // DeckOfCards class definition int main() { DeckOfCards deckOfCards; // create DeckOfCards object
www.eeworm.com/read/188512/8532976

cpp fig08_12.cpp

// Fig. 8.12: fig08_12.cpp // Attempting to modify data through a // non-constant pointer to constant data. void f( const int * ); // prototype int main() { int y; f( &y ); // f at
www.eeworm.com/read/188512/8532983

cpp fig08_04.cpp

// Fig. 8.4: fig08_04.cpp // Using the & and * operators. #include using std::cout; using std::endl; int main() { int a; // a is an integer int *aPtr; // aPtr is an int * --
www.eeworm.com/read/188512/8533007

cpp fig08_13.cpp

// Fig. 8.13: fig08_13.cpp // Attempting to modify a constant pointer to non-constant data. int main() { int x, y; // ptr is a constant pointer to an integer that can // be modified
www.eeworm.com/read/188512/8533062

cpp fig23_38.cpp

// Fig. 23.38: Fig23_38.cpp // Standard Library algorithms min and max. #include using std::cout; using std::endl; #include int main() { cout