代码搜索:Programs

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

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

cpp fig05_04.cpp

// Fig. 5.4: fig05_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
www.eeworm.com/read/210671/15193992

cpp fig05_12.cpp

// Fig. 5.12: fig05_12.cpp // Attempting to modify data through a // non-constant pointer to constant data. #include void f( const int * ); int main() { int y; f( &y );
www.eeworm.com/read/210671/15193997

cpp fig05_30.cpp

// Fig. 5.30: fig05_30.cpp // Using strcpy and strncpy #include using std::cout; using std::endl; #include int main() { char x[] = "Happy Birthday to You"; ch
www.eeworm.com/read/210671/15194001

cpp fig05_13.cpp

// Fig. 5.13: fig05_13.cpp // Attempting to modify a constant pointer to // non-constant data #include int main() { int x, y; int * const ptr = &x; // ptr is a constant poi
www.eeworm.com/read/210671/15194002

cpp fig05_14.cpp

// Fig. 5.14: fig05_14.cpp // Attempting to modify a constant pointer to // constant data. #include using std::cout; using std::endl; int main() { int x = 5, y; const i
www.eeworm.com/read/210671/15194015

cpp fig01_02.cpp

// Fig. 1.2: fig01_02.cpp // A first program in C++ #include int main() { std::cout
www.eeworm.com/read/210671/15194018

cpp fig01_06.cpp

// Fig. 1.6: fig01_06.cpp // Addition program #include int main() { int integer1, integer2, sum; // declaration std::cout
www.eeworm.com/read/210671/15194020

cpp fig02_27.cpp

// Fig. 2.27: fig02_07.cpp // Using the continue statement in a for structure #include using std::cout; using std::endl; int main() { for ( int x = 1; x
www.eeworm.com/read/210671/15194028

cpp fig02_26.cpp

// Fig. 2.26: fig02_26.cpp // Using the break statement in a for structure #include using std::cout; using std::endl; int main() { // x declared here so it can be used after t
www.eeworm.com/read/210671/15194032

cpp fig02_20.cpp

// Fig. 2.20: fig02_20.cpp // Summation with for #include using std::cout; using std::endl; int main() { int sum = 0; for ( int number = 2; number