代码搜索:else
找到约 10,000 项符合「else」的源代码
代码结果 10,000
www.eeworm.com/read/425546/10348676
m factorial.m
function x = factorial(n)
% FACTORIAL Compute n!
% x = factorial(n)
if n == 0
x = 1;
else
x = n*factorial(n-1);
end
www.eeworm.com/read/424540/10440050
m bianhuan.m
function Y = Bianhuan(X)
[m,n] = size(X);
Y = zeros(m+2,n+2);
for i = 1:m+2
for j = 1:n+2
if i == 1 | j == 1 | i == m+2 | j == n+2
Y(i,j) = 0;
else
www.eeworm.com/read/279355/10444017
c 16rbsh.c
int rbsh(p,n,a,b,m)
int n,*m;
double a,b,p[];
{ int i,j,k;
i=1; j=n;
while (i=a)&&(p[k-1]
www.eeworm.com/read/353356/10453067
c !_test.c
void main()
{
int a, b;
a = b = 1;
if( !(a == b) ) printf( "not equal\n" );
else printf( "equal\n" );
}
www.eeworm.com/read/161095/10453539
c dlatmr.c
/* -- translated by f2c (version 19940927).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static in
www.eeworm.com/read/279175/10457050
c getopt.c
/* Getopt for GNU.
NOTE: getopt is now part of the C library, so if you don't know what
"Keep this file name-space clean" means, talk to drepper@gnu.org
before changing it!
Copyright (C)
www.eeworm.com/read/353194/10464715
c s_atan.c
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the
www.eeworm.com/read/278816/10504345
c delta.c
/* delta.c - delta function */
double delta(n)
int n;
{
if (n == 0)
return 1;
else
return 0;
}
www.eeworm.com/read/278235/10554752
tex cs-refcard.tex
% Reference Card for GNU Emacs version 21 on Unix systems
% Czech hyphenation rules applied
\chyph
%**start of header
\newcount\columnsperpage
% This file can be printed with 1, 2, or 3 columns per