代码搜索:Programs

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

代码结果 10,000
www.eeworm.com/read/208576/15243821

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/208576/15243846

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/208576/15243849

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/208576/15243851

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/208576/15243863

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/208576/15243884

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
www.eeworm.com/read/208576/15243919

cpp fig07_18.cpp

// Fig. 7.18: fig07_18.cpp // Creates GradeBook object using an array of grades. #include "GradeBook.h" // GradeBook class definition // function main begins program execution int main() {
www.eeworm.com/read/208576/15243924

cpp fig07_09.cpp

// Fig. 7.9: fig07_09.cpp // Bar chart printing program. #include using std::cout; using std::endl; #include using std::setw; int main() { const int arraySize = 11
www.eeworm.com/read/208576/15243933

cpp fig07_06.cpp

// Fig. 7.6: fig07_06.cpp // Using a properly initialized constant variable. #include using std::cout; using std::endl; int main() { const int x = 7; // initialized constant var
www.eeworm.com/read/208576/15243944

cpp ex06_49.cpp

// Exercise 6.49: ex06_49.cpp // What is wrong with this program? #include using std::cin; using std::cout; int main() { int c; if ( ( c = cin.get() ) != EOF ) {