|
정의
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주 판매 이력 없음
|
|
=(listnode *)malloc(sizeof(listnode));
if(s==NULL){
printf(\"\\n리스트가 비었습니다\\n\");
return;
}
else{
temp->link=s->top;
while(1){
if(temp->link->link==NULL){
fprintf(output_fp,\"%d %d\",temp->link->expon,temp->link->coef);
break;
}
else{
fprintf(output_fp,\"%d %d \",tem
|
- 페이지 8페이지
- 가격 1,800원
- 등록일 2012.04.06
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
//이중연결 리스트
#include <malloc.h>
#include <stdio.h>
#define FALSE 0
#define TRUE 1
typedef struct Nodes
{
int value; //데이터
struct Nodes *pre;//이전 노드
struct Nodes *next;//다음 노드
}Node;
Node *HEAD;//HEAD Node이다.
void init_Node();//초기화 하는 함수.
|
- 페이지 4페이지
- 가격 800원
- 등록일 2008.01.13
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
n4, *n5, *n6;
n1 = (tnode_str*)malloc(sizeof(tnode_str));
n2 = (tnode_str*)malloc(sizeof(tnode_str));
n3 = (tnode_str*)malloc(sizeof(tnode_str));
n4 = (tnode_str*)malloc(sizeof(tnode_str));
n5 = (tnode_str*)malloc(sizeof(tnode_str));
n6 = (tnode_str*)malloc(sizeof(tnode_str));
n1->data = 10;
n1-&
|
- 페이지 16페이지
- 가격 2,000원
- 등록일 2004.11.28
- 파일종류 한글(hwp)
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
-
void in_it_card()
{
head=(card*)malloc(sizeof(card));
tail=(card*)malloc(sizeof(card));
head->next=tail;
tail->next=tail;
}
//-------------------------------------------------------------------------------
//구조체를 생성하고 삽입합니다.--------------------------------------------------
card
|
- 페이지 10페이지
- 가격 1,000원
- 등록일 2006.12.13
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|