代码搜索:Programs
找到约 10,000 项符合「Programs」的源代码
代码结果 10,000
www.eeworm.com/read/124804/6040084
cpp fig19_05.cpp
// Fig. 19.5: fig.19_05.cpp
// Overriding a base-class member function in a
// derived class.
#include "hourly.h"
int main()
{
HourlyWorker h( "Bob", "Smith", 40.0, 10.00 );
h.print();
www.eeworm.com/read/124804/6040093
cpp fig17_04.cpp
// Fig. 17.4: fig17_04.cpp
// Demonstrating composition: an object with member objects.
#include
using std::cout;
using std::endl;
#include "emply1.h"
int main()
{
Employee
www.eeworm.com/read/124804/6040107
cpp fig17_07.cpp
// Fig. 17.7: fig17_07.cpp
// Using the this pointer to refer to object members.
#include
using std::cout;
using std::endl;
class Test {
public:
Test( int = 0 );
www.eeworm.com/read/113083/6141917
notes
Some of the c programs work differently than their fortran counter
parts. This results in differences in the test result on the same
file. Most of the differences are insignificant. Following is the
d
www.eeworm.com/read/113030/6142251
cpp driver.cpp
// Chapter 9 of C++ How to Program
// driver for race car and car
#include
using std::cout;
using std::endl;
#include "car.h"
#include "racecar.h"
int main()
{
Car chevy(
www.eeworm.com/read/113030/6142255
cpp debugging09.cpp
// Chapter 9 of C++ How to Program
// Debugging Problem (debugging09.cpp)
#include
using std::cout;
using std::endl;
#include "animal.h"
#include "lion.h"
int main()
{
A
www.eeworm.com/read/113030/6142272
cpp reversecharacter.cpp
// reversecharacter.cpp
#include
using std::cout;
#include "list.h"
/* Write a function that reverses the values of a list
and stores them in another list */
int main()
www.eeworm.com/read/113030/6142288
cpp date.cpp
// Chapter 6 of C++ How to Program
// date.cpp
#include
using std::cout;
using std::endl;
#include "date.h"
int main()
{
const int MAXDAYS = 160;
Date d( 10, 2, 2002 );
www.eeworm.com/read/113030/6142292
cpp debugging06.cpp
// Chapter 6 of C++ How to Program
// Debugging Problem
#include
using std::cout;
using std::endl;
int main()
{
Card c1;
Card c2( 3, 4 );
Card c3( 1, 14 );
Car
www.eeworm.com/read/113030/6142305
cpp triples.cpp
// Chapter 2 of C++ How to Program
// triples.cpp
#include
using std::cout;
using std::endl;
int main()
{
int count = 0;
long hyptSquared; // hypotenuse squared
long s