代码搜索结果
找到约 820,005 项符合
if 的代码
move-if-change
#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi
if.py
# Filename: if.py
number = 23
guess = int(raw_input('请输入一个整数:'))
if guess == number:
print '恭喜恭喜!你猜对了!' #新语句块由此句开始
print "(不过没有奖金给你!:))" #新语句块至此结束
elif guess < number:
print '不对
if.py
# -*- coding: cp936 -*-
a=raw_input("想不想去看蜘蛛侠3呀?")
if a == "想" :
print "那走吧!"
elif a == "不想" :
print "那你想看什么呢?"
else :
print "嗯,你到底想怎么样…"
if.c
/* if.c - network interface utility routines */
/* Copyright 1984-1996 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/* $NetBSD: if.c,v 1.18 1994/10/30 21:48:46 cgd Exp $ */
/*
* Copyrigh
if.cpp
// if.cpp -- using the if statement
#include
int main()
{
using namespace std;
char ch;
int spaces = 0;
int total = 0;
cin.get(ch);
while (ch != '.') // q
if.test
# Commands covered: if
#
# This file contains a collection of tests for one or more of the Tcl
# built-in commands. Sourcing this file into Tcl runs the tests and
# generates output for errors. No
if-old.test
# Commands covered: if
#
# This file contains the original set of tests for Tcl's if command.
# Since the if command is now compiled, a new set of tests covering
# the new implementation is in the fi
if.c
/* if.c - network interface utility routines */
/* Copyright 1984-1996 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/* $NetBSD: if.c,v 1.18 1994/10/30 21:48:46 cgd Exp $ */
/*
* Copyrigh
c-if.c-
/*
* test file if.c-
* test if statement
*
*/
int main()
{
int a=1, b=3, c=2;
if( c > a && c < b)
println("YES! c="~c);
else
println("NO! c:"~c);
return 0;
if.txt
var id:int
begin
if 1==1
then
begin
id:=1;
write id
end
fi
end