代码搜索:zero
找到约 10,000 项符合「zero」的源代码
代码结果 10,000
www.eeworm.com/read/193359/6355343
txt 21-5.txt
/* 范例:21-5以函数的方式来做例外处理 */
#include
using namespace std;
void function(int x, int y) // 有回传值的函数function()。
{
if(y == 0) // 当y等于0时
throw("The y can't be zero!"); // 使用throw丢出一
www.eeworm.com/read/155928/11837568
txt 21-5.txt
/* 范例:21-5以函数的方式来做例外处理 */
#include
using namespace std;
void function(int x, int y) // 有回传值的函数function()。
{
if(y == 0) // 当y等于0时
throw("The y can't be zero!"); // 使用throw丢出一
www.eeworm.com/read/258547/11856273
txt 21-5.txt
/* 范例:21-5以函数的方式来做例外处理 */
#include
using namespace std;
void function(int x, int y) // 有回传值的函数function()。
{
if(y == 0) // 当y等于0时
throw("The y can't be zero!"); // 使用throw丢出一
www.eeworm.com/read/256636/11982480
h astar2.h
#include "searcher.h"
#ifndef _ASTAR2_H_
#define _ASTAR2_H_
class ASTAR2: public searcher{
public:
virtual CString getIntroduction();
virtual int search(int begin, int end, int &stop, int
www.eeworm.com/read/256636/11982485
h ida.h
#include "searcher.h"
#ifndef _IDA_H_
#define _IDA_H_
class IDA: public searcher{
public:
virtual CString getIntroduction();
virtual int search(int begin, int end, int &stop, int val = 0)
www.eeworm.com/read/256636/11982601
h astar1.h
#include "searcher.h"
#ifndef _ASTAR1_H_
#define _ASTAR1_H_
class ASTAR1: public searcher{
public:
virtual CString getIntroduction();
virtual int search(int begin, int end, int &stop, int
www.eeworm.com/read/131660/14133913
txt 21-5.txt
/* 范例:21-5以函数的方式来做例外处理 */
#include
using namespace std;
void function(int x, int y) // 有回传值的函数function()。
{
if(y == 0) // 当y等于0时
throw("The y can't be zero!"); // 使用throw丢出一
www.eeworm.com/read/126322/14429827
txt 21-5.txt
/* 范例:21-5以函数的方式来做例外处理 */
#include
using namespace std;
void function(int x, int y) // 有回传值的函数function()。
{
if(y == 0) // 当y等于0时
throw("The y can't be zero!"); // 使用throw丢出一
www.eeworm.com/read/223073/14660964
txt 21-5.txt
/* 范例:21-5以函数的方式来做例外处理 */
#include
using namespace std;
void function(int x, int y) // 有回传值的函数function()。
{
if(y == 0) // 当y等于0时
throw("The y can't be zero!"); // 使用throw丢出一
www.eeworm.com/read/223000/14665353
txt 21-5.txt
/* 范例:21-5以函数的方式来做例外处理 */
#include
using namespace std;
void function(int x, int y) // 有回传值的函数function()。
{
if(y == 0) // 当y等于0时
throw("The y can't be zero!"); // 使用throw丢出一