代码搜索:CATCH
找到约 10,000 项符合「CATCH」的源代码
代码结果 10,000
www.eeworm.com/read/117181/6110492
cc try_catch.cc
// 2002-05-27
#include
#include
#include
namespace __gnu_test
{
enum region { oriental, egyptian, greek, etruscan, roman };
// Test one.
class gnu_obj_1
{
www.eeworm.com/read/117181/6110500
exp try_catch.exp
# Copyright 2002 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Fre
www.eeworm.com/read/483958/6588230
png signal.catch.png
www.eeworm.com/read/148696/12440464
cpp catch_ml.cpp
#include
void XHandler(int test)
{
try
{
if(test==0) throw test;
if(test==1) throw 'a';
if(test==2) throw 123.23;
}
catch(...)
{
co
www.eeworm.com/read/148696/12440518
cpp catch_dz.cpp
#include
void divide(double a, double b)
{
try {
if(!b) throw b; // checks for divide-by-zero
cout
www.eeworm.com/read/148696/12440527
cpp catch_3.cpp
#include
void XHandler(int test)
{
try
{
if(test==0) throw test;
if(test==1) throw "String";
if(test==2) throw 123.23;
}
catch(int i)
{