代码搜索:try
找到约 10,000 项符合「try」的源代码
代码结果 10,000
www.eeworm.com/read/148696/12440471
cpp exp_unex.cpp
#include
void XHandler(int test)
{
try
{
if(test==0) throw test;
if(test==1) throw 'a';
if(test==2) throw 123.23;
}
catch(int i)
{
www.eeworm.com/read/148696/12440492
cpp fun_catc.cpp
#include
void XHandler(int test)
{
try {
if(test) throw test;
}
catch(int i)
{
cout
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/231996/14212057
xml randomfns.xml
Randomness Functions
The first time PBC is asked to generate a random number,
the library will try to open the file /dev/urandom as a
source of ran
www.eeworm.com/read/129944/14216152
txt moz1110ex.txt
function switchLocale(langcode)
{
try {
var chromeRegistry = Components.classes["@mozilla.org/chrome/chrome-registry;1"].getService(Components.interfaces.nsIChromeRegistry);
chromeRegist
www.eeworm.com/read/129658/14233569
java~2~ displayable1.java~2~
import javax.microedition.lcdui.*;
public class Displayable1 extends Form {
/** Constructor */
public Displayable1() {
super("Chat Form");
try {
jbInit();
}
catch
www.eeworm.com/read/129388/14248097
cpp f_command.cpp
#include "min.h"
void sql::f_command(ifstream& in)
{
in>>command;
while (strcmp(command,"")) //退出MiniSQL系统
{
try{
if(!strcmp(command,"create"))
{
in>>command;
www.eeworm.com/read/129125/14264754
java randomreadtest.java
import java.io.*;
public class RandomReadTest
{
public static void main(String args[])
{
try
{
FileInputStream fs_in = new FileInputStream("sample.dat");
DataInputS
www.eeworm.com/read/129125/14264772
java simpleinputtest.java
import java.io.*;
public class SimpleInputTest
{
public static void main(String args[])
{
try
{
FileInputStream fs_in = new FileInputStream("sample.dat");
DataInput
www.eeworm.com/read/129125/14264787
java writeunbufferedtest.java
import java.io.*;
public class WriteUnbufferedTest
{
public static void main(String args[])
{
try
{
long start = System.currentTimeMillis();
FileOutputStream fs_out