|
정의
scanf( const char *format, arg1, arg2, … ) – 숫자를 받아 들일 때
fgets(char *buffer, int n, FILE *fp) – 문자열을 받아 들일 때
#include <stdlib.h> //malloc 인클루드
#include <stdio.h>
main()
{
char *name;
name = (char *)malloc(sizeof(char) * 20);
|
- 페이지 7페이지
- 가격 1,000원
- 등록일 2004.07.06
- 파일종류 피피티(ppt)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
인수(argument)의 형태,
함수가 사용하는 인수(argument)의 개수,
함수가 반환하는 값의 형태. 1 선행 처리 지시자: #define
2 문자와 문자열의 입출력
3 비표준 콘솔 대화식 입출력 함수
4 gets()와 puts() 함수
5 printf()함수
6 scanf()함수
|
- 페이지 18페이지
- 가격 2,000원
- 등록일 2007.01.10
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
gets, fread, scanf, printf, fprintf, fscanf와 같이 스트림 입출력에 대한 함수선언 및 매크로와 FILE과 같은 자료형과, EOF, NULL, BUFSIZ와 같은 상수를 정의하고 있다.
<stdlib.h> : abs, atoi, itoa, rand, toupper, getenv와 같은 함수선언을 포함하고, errno와 같
|
- 페이지 14페이지
- 가격 2,000원
- 등록일 2011.01.13
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
gets(library[count].title);
printf(\"저자:\");
gets(library[count].author);
printf(\"위치:\");
gets(library[count].location);
printf(\"장르(0: 만화, 1: 공상소설, 2: 소설, 3: 고전)\");
scanf(\"%d\",&type);
if(type >= 0 && type <= 3)
library[count].genre = type;
else
library[count].genre = COMIC
|
- 페이지 63페이지
- 가격 3,000원
- 등록일 2014.11.14
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
gets(arr);
printf(\"결과문자열:\");
for(i =0;arr[i]!=NULL;i ++)
printf(\"%c\",arr[i]^0x20);
printf(\"\\n\");
return0;
}
voiddisplay(intnum){
inti;
i=sizeof(int)*8;
for(;i >0;i --){
if(i%4==0&&i!=32)
printf(\"\");
printf(\"%d\",GET_BIT(num,i));
}
printf(\"\\n,\");
}
Colored by Color Scripter
cs
|
- 페이지 154페이지
- 가격 3,000원
- 등록일 2019.07.16
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|