代码搜索:Programs
找到约 10,000 项符合「Programs」的源代码
代码结果 10,000
www.eeworm.com/read/210671/15193721
cpp fig20_38.cpp
// Fig. 20.38: fig20_38.cpp
// Demonstrating min and max
#include
using std::cout;
using std::endl;
#include
int main()
{
cout
www.eeworm.com/read/210671/15193751
cpp fig19_03.cpp
// Fig. 19.3: fig19_03.cpp
// Demonstrating function substr
#include
using std::cout;
using std::endl;
#include
using std::string;
int main()
{
string s( "The a
www.eeworm.com/read/210671/15193762
cpp fig11_04.cpp
// Fig. 11.4: fig11_04.cpp
// Outputting a string using two stream insertions.
#include
using std::cout;
int main()
{
cout
www.eeworm.com/read/210671/15193763
cpp fig11_09.cpp
// Fig. 11.9: fig11_09.cpp
// Calculating the sum of two integers input from the keyboard
// with cin and the stream-extraction operator.
#include
using std::cout;
using std::cin;
www.eeworm.com/read/210671/15193764
cpp fig11_15.cpp
// Fig. 11.15: fig11_15.cpp
// Unformatted I/O with read, gcount and write.
#include
using std::cout;
using std::cin;
using std::endl;
int main()
{
const int SIZE = 80;
www.eeworm.com/read/210671/15193778
cpp fig11_25.cpp
// Fig. 11.25: fig11_25.cpp
// Using the ios::showbase flag
#include
using std::cout;
using std::endl;
#include
using std::ios;
using std::setiosflags;
using std::o
www.eeworm.com/read/210671/15193801
h hourly1.h
// Fig. 10.1: hourly1.h
// Definition of class HourlyWorker
#ifndef HOURLY1_H
#define HOURLY1_H
#include "employ2.h"
class HourlyWorker : public Employee {
public:
HourlyWorker( const char
www.eeworm.com/read/210671/15193806
cpp fig09_08.cpp
// Fig. 9.8: fig09_08.cpp
// Driver for class Point
#include
using std::cout;
using std::endl;
#include "point2.h"
int main()
{
Point p( 72, 115 ); // instantiate Point o
www.eeworm.com/read/210671/15193844
cpp point2.cpp
// Fig. 9.7: point2.cpp
// Member function definitions for class Point
#include
using std::cout;
using std::endl;
#include "point2.h"
// Constructor for class Point
Point::Poin
www.eeworm.com/read/210671/15193847
h circle2.h
// Fig. 9.7: circle2.h
// Definition of class Circle
#ifndef CIRCLE2_H
#define CIRCLE2_H
#include "point2.h"
class Circle : public Point {
public:
// default constructor
Circle( doub