|
c' : 처리3; break;
:
:
default : 처리 n;
}
(예)
#include <stdio.h>
main(){
char ch;
printf("s,b,g중 하나를 입력하시오:");
scanf("%c", &ch);
switch(ch){
case 's' : printf("서울"); break;
case 'b' : printf("부산"); break;
case 'g' : printf("경주"); break;
default : printf("End\n"); //그외
|
- 페이지 11페이지
- 가격 2,300원
- 등록일 2004.05.26
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
급하실때도 짧은 시간에 바로 학번과 이름정도만 입력하셔서
내셔도 무관할 정도입니다.
발표자료와 결과보고서에 캡쳐본과 주요 소스도 다 있으니 초보자 분들도
프로젝트 잘 마무리 하실 수 있을 겁니다^-^// Microsoft Visual C++ 6.0, MFC
|
- 페이지 62페이지
- 가격 20,000원
- 등록일 2011.05.20
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
프로그래밍 결과
<그림 6> Game_Car
<그림 7> Miro Tab
<그림 8> 충돌을 인식하는 자동차
1.4 프로그래밍 고찰
처음에는 어떻게 해야할까 막막하였으나 하나하나 접근해 나가니 그다지 어려움이 많지는 않았다. 그리고 미니게임과 같은
|
- 페이지 5페이지
- 가격 500원
- 등록일 2013.12.06
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
c=1;
fscanf(file, "%d", &Num_case);
while(Num_case--)
{
while(1)
{
fscanf(file, "%d %d %d %c", &Team, &PB, &Time, &Type);
fgetc(file);
c = fgetc(file);
switch(Type)
{
case 'I': // t
|
- 페이지 71페이지
- 가격 7,000원
- 등록일 2010.02.07
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
C[6][16];
double res[6][6]={0};
double E[6][6]={0};
void trans(double A[16][6],double B[6][16]); // 함수선언부분
void makeE(double E[6][6]);
void Eliment(double res[][6],double E[][6],int size);
void Makeone(double res[][6],double E[][6],int size);
void Cal(double res[][6],double E[][6],int size);
v
|
- 페이지 16페이지
- 가격 4,000원
- 등록일 2010.05.24
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include<stdio.h>
#include<stdlib.h>
#include "Vending Machine.h"
#define Max 5
int main()
{
int select = 0, option;
char *BeverageName[Max] = {"콜라", "사이다", "환타", "초록매실", "식혜"};
int Money[5] = {1000, 500, 100, 50, 10};
int Beverage[Max] = {400, 350, 520, 600,
|
- 페이지 7페이지
- 가격 1,000원
- 등록일 2004.11.12
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
일명을 입력하세요. : ");
gets(filename);
fp = fopen(filename, "r");
if(fp==NULL) printf(" Can't find <%s>! \n", filename);
else {
while((c==fgetc(fp)) !=EOF)
fputc(c, stdout);
fclose(fp);
printf("\n");
}
} 표준 입출력 장치
파일의 열기와 닫기
파일의 읽기와 쓰기
|
- 페이지 2페이지
- 가격 600원
- 등록일 2013.10.04
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
)=%s\n",**(test+1));
printf("***test=%c\n",***test);
printf("***(test+1)=%c\n",***(test+1));
}
결과 1. 소스
2. 결과
|
- 페이지 1페이지
- 가격 600원
- 등록일 2003.12.28
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
.............
typedef struct listNode {
...
} listNode; // for nodes s.t. [coefficient/exponent/link pointer]
typedef struct listHeader {
...
} listHeader; // for header node s.t. [length/head pointer/tail pointer]
void init(listHeader *plist)
// initializing the header node's leng
|
- 페이지 50페이지
- 가격 3,300원
- 등록일 2010.01.04
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
1) main function
int main(void){
char s[MAX_LINE][100]={NULL}; // for file strings
readFile(s);
storeSubstrings(s);
searchString(s);
return 0;
}
2) readFile function
//read strings from "input.txt" file
void readFile(char (*temp)[100]){
FILE* f; // file pointer f
f=fopen("input
|
- 페이지 50페이지
- 가격 900원
- 등록일 2010.01.04
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|