代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.dev
[Project]
FileName=Switch.dev
Name=Switch
UnitCount=1
Type=1
Ver=1
ObjFiles=
Includes=
Libs=
PrivateResource=
ResourceIncludes=
Resources=
Compiler=
Linker=
IsCpp=1
Icon=
ExeOutput=
O
switch.c
# include
void main()
{
int num;
/* 下面定义的各变量,分别代表个位,十位,百位,千位,万位,十万位以及位数 */
int indiv, ten, hundred, thousand;
int ten_thousand, hundred_thousand, place;
printf("请输入一个整数(0~99
switch.cpp
//这个程序在本书所带软盘中,文件名为SWITCH.CPP
//这个程序演示开关语句的工作。
#include
void main(void)
{
int choice;
cout > choice;
switch (choice) {
case 1 : {
cout
switch.h
// Switch.h: interface for the CSwitch class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SWITCH_H__AFC29FE2_67BB_11D4_BBD7_600000000ECD__INCLUDED_)
switch.cpp
// Switch.cpp: implementation of the CSwitch class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Pointtest.h"
#include "Switch.h"
#