代码搜索:Programs

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

代码结果 10,000
www.eeworm.com/read/256101/12028681

cpp fig03_13.cpp

// Fig. 3.13: fig03_13.cpp // GradeBook class demonstration after separating // its interface from its implementation. #include using std::cout; using std::endl; #include "GradeBo
www.eeworm.com/read/256101/12028726

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 ) {
www.eeworm.com/read/256101/12028729

cpp ex06_02.cpp

// Exercise 6.2: ex06_02.cpp #include using std::cout; using std::endl; int cube( int y ); // function prototype int main() { int x; for ( x = 1; x
www.eeworm.com/read/256101/12028744

cpp fig06_23.cpp

// Fig. 6.23: fig06_23.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/256101/12028769

cpp fig06_08.cpp

// Fig. 6.8: fig06_08.cpp // Shifted and scaled random integers. #include using std::cout; using std::endl; #include using std::setw; #include // contains fun
www.eeworm.com/read/256101/12028783

cpp fig05_14.cpp

// Fig. 5.14: fig05_14.cpp // continue statement terminating an iteration of a for statement. #include using std::cout; using std::endl; int main() { for ( int count = 1; count
www.eeworm.com/read/256101/12028789

cpp fig05_02.cpp

// Fig. 5.2: fig05_02.cpp // Counter-controlled repetition with the for statement. #include using std::cout; using std::endl; int main() { // for statement header includes initi
www.eeworm.com/read/256101/12028793

cpp ex05_07.cpp

// Exercise 5.7: ex05_07.cpp // What does this program print? #include using std::cout; using std::cin; using std::endl; int main() { int x; // declare x int y; // declar
www.eeworm.com/read/256101/12028795

cpp fig05_13.cpp

// Fig. 5.13: fig05_13.cpp // break statement exiting a for statement. #include using std::cout; using std::endl; int main() { int count; // control variable also used after loo
www.eeworm.com/read/256101/12028802

cpp fig05_05.cpp

// Fig. 5.5: fig05_05.cpp // Summing integers with the for statement. #include using std::cout; using std::endl; int main() { int total = 0; // initialize total // total e