代码搜索:methods
找到约 10,000 项符合「methods」的源代码
代码结果 10,000
www.eeworm.com/read/470800/6908538
cpp mytime3.cpp
// mytime3.cpp -- implementing Time methods
#include "mytime3.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m;
}
void Time::Ad
www.eeworm.com/read/470800/6908726
cpp acctabc.cpp
// acctabc.cpp -- bank account class methods
#include
#include
using std::cout;
using std::ios_base;
using std::endl;
#include "acctabc.h"
// Abstract Base Class
AcctA
www.eeworm.com/read/470800/6908826
cpp mytime3.cpp
// mytime3.cpp -- implementing Time methods
#include "mytime3.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m;
}
void Time::Ad
www.eeworm.com/read/470800/6909014
cpp acctabc.cpp
// acctabc.cpp -- bank account class methods
#include
#include
using std::cout;
using std::ios_base;
using std::endl;
#include "acctabc.h"
// Abstract Base Class
AcctA
www.eeworm.com/read/468329/6996562
cpp mytime3.cpp
// mytime3.cpp -- implementing Time methods
#include "mytime3.h"
Time::Time()
{
hours = minutes = 0;
}
Time::Time(int h, int m )
{
hours = h;
minutes = m;
}
void Time::Ad
www.eeworm.com/read/468329/6996750
cpp acctabc.cpp
// acctabc.cpp -- bank account class methods
#include
#include
using std::cout;
using std::ios_base;
using std::endl;
#include "acctabc.h"
// Abstract Base Class
AcctA
www.eeworm.com/read/466324/7032744
java exercise14_5.java
// Exercise14_5.java: The Maze problem
// Comment the block() and unblock() methods to show Figure 10.30 for jbBook
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public clas
www.eeworm.com/read/466324/7032964
java exercise4_15.java
// Exercise4_15.java: Demonstrate using the math methods
public class Exercise4_15 {
/** Main method */
public static void main(String[] args) {
final int COUNT = 10; // Total numbers
int
www.eeworm.com/read/332978/7141505
java typesforsets.java
//: containers/TypesForSets.java
// Methods necessary to put your own type in a Set.
import java.util.*;
class SetType {
int i;
public SetType(int n) { i = n; }
public boolean equals(Obj
www.eeworm.com/read/332978/7141526
java readonly.java
//: containers/ReadOnly.java
// Using the Collections.unmodifiable methods.
import java.util.*;
import net.mindview.util.*;
import static net.mindview.util.Print.*;
public class ReadOnly {
s