함수 - CC510 전산응용개론 HW#3 C Programming
본 자료는 미리보기를 지원하지 않습니다.
닫기
  • 1
  • 2
  • 3
해당 자료는 1페이지 까지만 미리보기를 제공합니다.
1페이지 이후부터 다운로드 후 확인할 수 있습니다.

목차

[CC510]HW#3_20103033_고재현.docx
hw3.cpp


〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓


[CC510]HW#3_20103033_고재현.docx

1.Introduction
2.Source Code
3. Explation of the source code

본문내용

1.Introduction
     함수 definition, prototype, call 을 이해하고 간단한 예제를 통해 사용해본다.

2.Source Code
#include
int input();
void main()
{
     int a;

     while(1)                //starts roop
     {
          a=input();           // call function and insert ouput to a;
     if (a == 1) // if a is 1
     {
          printf("Your choice is #1\n");
          printf("Copying files is completed\n"); // this is output for #`1
          break; // get out from the loop
     }
     else if (a == 2) // same as 1
     {
          printf("Your choice is #2\n");
          printf("Moving files is completed\n");
          break;
     }
     else if (a == 3) //same as 1
     {
          printf("Your choice is #3\n");
          printf("Removing files is completed\n");
          break;
     }
  • 가격1,800
  • 페이지수3페이지
  • 등록일2012.08.31
  • 저작시기2011.3
  • 파일형식압축파일(zip)
  • 자료번호#762676
본 자료는 최근 2주간 다운받은 회원이 없습니다.
청소해
다운로드 장바구니