代码搜索:CATCH
找到约 10,000 项符合「CATCH」的源代码
代码结果 10,000
www.eeworm.com/read/182664/9196862
bak j_server.java.bak
// ////////////////////////////////////////////////////////
//
// J_Server.java
//
// ////////////////////////////////////////////////////////
import java.net.*;
import java.io.*;
publi
www.eeworm.com/read/379196/9204816
txt 例14.2.txt
例14.2 在函数嵌套的情况下检测异常处理。
这是一个简单的例子,用来说明在try块中有函数嵌套调用的情况下抛出异常和捕捉异常的情况。请自己先分析以下程序。
#include
using namespace std;
int main( )
{void f1( );
try
{f1( );}//调用f1( )
catch(double)
{cou
www.eeworm.com/read/181164/9271781
cpp wy_lnkfile.cpp
/* Copyright is licensed under GNU LGPL. by I.J.Wang 2003
*/
#define WYLIB_SOURCE
#include "wy_lnkfile.h"
#include "wy_atdestroy.h"
#include
#include
#inclu
www.eeworm.com/read/181164/9271910
cpp wy_thread.cpp
/* Copyright is licensed under GNU LGPL. by I.J.Wang 2003
.active_threads()=1
General error, chk_thread2.cpp(329)
pass: 24,2,11,20,11,16,17,2,4
程式記憶體區段錯誤 ./chk_thread2
pass:24,3,2
www.eeworm.com/read/181164/9272005
cpp chk_byteflow.cpp
/* Copyright is licensed under GNU LGPL. by I.J.Wang 2005
Check WyByteFlow public members
Build: make chk_byteflow
Note: Test data files should exist in the working directo
www.eeworm.com/read/374116/9420772
c~ command.c~
/* command.c */
#include "command.h"
struct sh_command entry[] = {
{ "exit", 1, "", "exit this program"},
{ "echo", 2, "word", "echo words"},
{ "help",
www.eeworm.com/read/374116/9420786
c command.c
/* command.c */
#include "command.h"
struct sh_command entry[] = {
{ "exit", 1, "", "exit this program"},
{ "echo", 2, "word", "echo words"},
{ "help",
www.eeworm.com/read/366089/9833115
c singal.c
#include
#include
#include
void catch_int(int sig_num)
{
// 重新设置 SIGINT 的 handler
signal(SIGINT, catch_int);
printf("Control-C is ignored, please don't waste
www.eeworm.com/read/365315/9869998
cpp adocommand.cpp
/*########################################################################
Filename: ado.cpp
----------------------------------------------------
Remarks: ...
--------------------------------