代码搜索:Programs

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

代码结果 10,000
www.eeworm.com/read/479166/6700161

cpp fig08_07.cpp

// Fig. 8.7: fig08_07.cpp // Pass-by-reference with a pointer argument used to cube a // variable抯 value. #include using std::cout; using std::endl; void cubeByReference( int * );
www.eeworm.com/read/479166/6700163

cpp fig08_12.cpp

// Fig. 8.12: fig08_12.cpp // Attempting to modify data through a // nonconstant pointer to constant data. void f( const int * ); // prototype int main() { int y; f( &y ); // f att
www.eeworm.com/read/479166/6700164

cpp fig08_04.cpp

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

cpp fig08_13.cpp

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

cpp fig08_27.cpp

// Fig. 8.26: fig08_26.cpp // Card shuffling and dealing program. #include "DeckOfCards.h" // DeckOfCards class definition int main() { DeckOfCards deckOfCards; // create DeckOfCards object
www.eeworm.com/read/479166/6700205

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/479166/6700210

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/479166/6700218

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/479166/6700222

cpp fig06_22.cpp

// Fig. 6.22: fig06_22.cpp // Using the unary scope resolution operator. #include using std::cout; using std::endl; int number = 7; // global variable named number int main() {
www.eeworm.com/read/479166/6700228

cpp fig06_07.cpp

// Fig. 6.7: fig06_07.cpp // Shifted and scaled random integers. #include using std::cout; using std::endl; #include using std::setw; #include // contains fun