代码搜索:Programs
找到约 10,000 项符合「Programs」的源代码
代码结果 10,000
www.eeworm.com/read/208576/15243945
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/208576/15243950
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/208576/15243958
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/208576/15244024
cpp depositslot.cpp
// DepositSlot.cpp
// Member-function definition for class DepositSlot.
#include "DepositSlot.h" // DepositSlot class definiton
// indicates whether envelope was received (always returns true,
www.eeworm.com/read/208576/15244034
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/208576/15244037
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/208576/15244038
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/208576/15244039
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