代码搜索结果
找到约 10,000 项符合
Switch 的代码
20-1.txt
/* 范例:20-1 */
// 0.0 File scope 开始
#include
#include
void fun_a(int a,int b); /* 1 函数原型scope(参数行属于此),其中
a,b的可见度仅限于原型声明( )内 */
void main(void)
{
rfc2172.txt
Network Working Group M. Maruyama
Request for Comments: 2172 K. Murakami
Category: Informational
p2.cpp
#include
int main()
{
int y,m,n;
while(cin>>y>>m)
{
if((y%4==0&&y%100!=0)||(y%400==0)) {n=29;}
else {n=28;}
switch(m)
{
case 1: cout
p3.cpp
#include
int main()
{
int y,m,d,s,n,i;
while(cin>>m>>d>>y)
{
if((y%400==0)||(y%100!=0&&y%4==0)) {n=29;}
else {n=28;}
s=0;
//cout
14-3.cpp
#include
int main()
{
int y,m,d,s,n,i;
while(cin>>m>>d>>y)
{
if((y%400==0)||(y%100!=0&&y%4==0)) {n=29;}
else {n=28;}
s=0;
//cout
dbparser.c
/* dbparser.C
* John Viega
*
* Feb 8 2000
*/
#include "config.H"
#include "token.H"
#include "vulndb.H"
#include "strpool.H"
static TokenContainer *tc;
static int next = 0;
struct VarInfo
{
T
2_5a.c
/* ======================================== */
/* 程式实例: 2_5a.c */
/* 查询上课的课目,其中课程以代码表示. */
/* 0 表示没课 */
/* 1 表示计算机概论
mytapi_.c
#include "comdial.h"
#include "resource.h"
MYTAPI mytapi;
extern HWND hTTYWnd;
/////////////////////////////////////////////////////////////////////
// telephonyInitialize - mega function
dbparser.c
/* dbparser.C
* John Viega
*
* Feb 8 2000
*/
#include "config.H"
#include "token.H"
#include "vulndb.H"
#include "strpool.H"
static TokenContainer *tc;
static int next = 0;
struct VarInfo
{
T