소개글
한학기동안 실습한 자료입니다.
컴파일 실행환경
날짜
무게중심
실습
포인터
...
본문내용
#include "genlib.h"
#include "simpio.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define BUFSIZE 255
char *substr(char *s,int p1,int p2);
void main()
{
int p1,p2,length;//필요한 변수들을 선언한다
char *ch;
char buf[BUFSIZE];
printf("문자열을 입력하세요:");
while(gets(buf)!=NULL)//파일의 끝이 나올때까지 문자열을 하나씩 읽어서 저장
참고 자료
없음