|
STACK *\n");
printf("*********\n\n");
while(1)
{
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
STACK.dsp
# Microsoft Developer Stud
|
- 페이지 13페이지
- 가격 7,900원
- 등록일 2013.12.16
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#define TRUE 1
#define FALSE 0
#define MAX_STACK_SIZE 100
typedef char element;
typedef struct {
element stack[MAX_STACK_SIZE];
int top;
} StackType;
// 스택 초기화 함수
void init(StackType *s)
|
- 페이지 2페이지
- 가격 2,100원
- 등록일 2008.10.09
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
it;
stack_pointer temp = (stack_pointer)malloc(sizeof(stack));
if(IS_FULL(temp))
{
printf(\"The memory is full.\\n\");
exit(1);
}
printf(\"PUSH DATA:: \");
scanf(\"%s\",&it);
temp->item = it;
temp->link= *top;
*top = temp;
}
void delete(stack_pointer *top)
{
stack_pointer temp = *top;
char di
|
- 페이지 5페이지
- 가격 900원
- 등록일 2005.12.09
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <iostream.h>
template <class Data_type>
class Stack
{
public:
Stack(int Maxsize = Defaultsize);
~Stack();
int Isfull();
void Add(const Data_type& item);
int Isempty();
Data_type* Delete(Data_type& x);
void Print();
private:
void Stackfull();
void Stackem
|
- 페이지 1페이지
- 가격 1,000원
- 등록일 2006.02.21
- 파일종류 기타
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
구조체 스택의 함수 원형
/*2004-11-7
/*구조체를 이용한 스택의 구현*/
/*
top : 다음에 값이 push될 index
*/
#define Element int
struct Stack
{
Element * element;
int top;
int size;
};
void create_stack(struct Stack * s, int n);
int isFull(int top, int size);
int isEm
|
- 페이지 20페이지
- 가격 2,000원
- 등록일 2005.01.18
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|