代码搜索:Programs
找到约 10,000 项符合「Programs」的源代码
代码结果 10,000
www.eeworm.com/read/479166/6700043
cpp fig19_24.cpp
// Fig. 19.24: fig19_24.cpp
// Using atol.
#include
using std::cout;
using std::endl;
#include // atol prototype
using std::atol;
int main()
{
long x = atol( "1000
www.eeworm.com/read/479166/6700050
cpp fig19_04.cpp
// Fig. 19.4: fig19_04.cpp
// Card shuffling and dealing program.
#include "DeckOfCards.h" // DeckOfCards class definition
int main()
{
DeckOfCards deckOfCards; // create DeckOfCards object
www.eeworm.com/read/479166/6700054
cpp fig19_39.cpp
// Fig. 19.39: fig19_39.cpp
// Using memchr.
#include
using std::cout;
using std::endl;
#include // memchr prototype
using std::memchr;
int main()
{
char s[] = "Th
www.eeworm.com/read/479166/6700057
cpp fig19_23.cpp
// Fig. 19.23: fig19_23.cpp
// Using atoi.
#include
using std::cout;
using std::endl;
#include // atoi prototype
using std::atoi;
int main()
{
int i = atoi( "2593"
www.eeworm.com/read/479166/6700093
cpp fig10_06.cpp
// Fig. 10.6: fig10_06.cpp
// Program to test class Increment.
#include
using std::cout;
#include "Increment.h" // include definition of class Increment
int main()
{
Increment
www.eeworm.com/read/479166/6700101
cpp fig10_09.cpp
// Fig. 10.9: fig10_09.cpp
// Program to test class Increment.
#include
using std::cout;
#include "Increment.h" // include definition of class Increment
int main()
{
Increment
www.eeworm.com/read/479166/6700119
h date.h
// Fig. 9.17: Date.h
// Date class declaration.
// Member functions are defined in Date.cpp
// prevent multiple inclusions of header file
#ifndef DATE_H
#define DATE_H
// class Date definiti
www.eeworm.com/read/479166/6700120
h time.h
// Fig. 9.14: Time.h
// Time class declaration.
// Member functions defined in Time.cpp
// prevent multiple inclusions of header file
#ifndef TIME_H
#define TIME_H
class Time
{
public:
www.eeworm.com/read/479166/6700126
cpp fig09_07.cpp
// Fig. 9.7: fig09_07.cpp
// Utility function demonstration.
// Compile this program with SalesPerson.cpp
// include SalesPerson class definition from SalesPerson.h
#include "SalesPerson.h"
www.eeworm.com/read/479166/6700144
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,