代码搜索:Programs
找到约 10,000 项符合「Programs」的源代码
代码结果 10,000
www.eeworm.com/read/188512/8533164
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/188512/8533191
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/188512/8533230
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/188512/8533279
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/188512/8533284
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/188512/8533301
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/188512/8533321
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/188512/8533452
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,