代码搜索:overloading
找到约 1,176 项符合「overloading」的源代码
代码结果 1,176
www.eeworm.com/read/468329/6996623
cpp leftover.cpp
// leftover.cpp -- overloading the left() function
#include
unsigned long left(unsigned long num, unsigned ct);
char * left(const char * str, int n = 1);
int main()
{
using nam
www.eeworm.com/read/332978/7141785
java music2.java
//: polymorphism/music/Music2.java
// Overloading instead of upcasting.
package polymorphism.music;
import static net.mindview.util.Print.*;
class Stringed extends Instrument {
public void pl
www.eeworm.com/read/456533/7345801
cpp leftover.cpp
// leftover.cpp -- overloading the left() function
#include
unsigned long left(unsigned long num, unsigned ct);
char * left(const char * str, int n = 1);
int main()
{
using nam
www.eeworm.com/read/456533/7346106
cpp leftover.cpp
// leftover.cpp -- overloading the left() function
#include
unsigned long left(unsigned long num, unsigned ct);
char * left(const char * str, int n = 1);
int main()
{
using nam
www.eeworm.com/read/456367/7350658
cpp leftover.cpp
// leftover.cpp -- overloading the left() function
#include
unsigned long left(unsigned long num, unsigned ct);
char * left(const char * str, int n = 1);
int main()
{
using nam
www.eeworm.com/read/456367/7350942
cpp leftover.cpp
// leftover.cpp -- overloading the left() function
#include
unsigned long left(unsigned long num, unsigned ct);
char * left(const char * str, int n = 1);
int main()
{
using nam
www.eeworm.com/read/449743/7497477
java music2.java
//: polymorphism/music/Music2.java
// Overloading instead of upcasting.
package polymorphism.music;
import static net.mindview.util.Print.*;
class Stringed extends Instrument {
public void pl
www.eeworm.com/read/443713/7625624
lst chap9.lst
listing 1
// An example of operator overloading.
using System;
// A three-dimensional coordinate class.
class ThreeD {
int x, y, z; // 3-D coordinates
public ThreeD() { x = y
www.eeworm.com/read/435150/7796503
cpp prog9_02a.cpp
// Program 9.2a Overloading a function with const reference parameters
#include
using std::cout;
using std::endl;
double larger(double a, double b);
long larger(const long& a, const lo
www.eeworm.com/read/435150/7796525
cpp prog14_03.cpp
// Program 14.3 Overloading the copy assignment operator File: prog14_03.cpp
#include
#include
using std::cout;
using std::endl;
#include "ErrorMessage.h"
int main() {