|
입력 종료
str[i]=(char *)malloc(strlen(temp)+1); //문자열을 저장할 메모리 할당
strcpy(str[i], temp); //문자열 복사
i++; //제어변수 증가
if(i==max) //입력된 문자열의 수를 검사
{
printf("문자열 입력이 최대값을 모두 채웠습니다.\n");
break; //반복문을 빠져나간
|
- 페이지 4페이지
- 가격 1,000원
- 등록일 2009.10.28
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
class Window1 extends JFrame implements ActionListener {
Process1 p[] = new Process1[100];
Cpu1 c1 = new Cpu1();
JButton jb1;
JTextField jtf1;
JTextField jtf2;
JLabel jspace;
JTextArea result;
JTextArea jta1;
String result_string = ("총 메모리 크기r :" + (c1.Memory.length-1)+
|
- 페이지 3페이지
- 가격 1,000원
- 등록일 2016.12.21
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
할당을 함으로써 메모리의 낭비와
속도 높임
#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
int iSize;
int iLoop;
while(1)
{
cout<<"snail : ";
|
- 페이지 6페이지
- 가격 2,300원
- 등록일 2012.07.15
- 파일종류 워드(doc)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
메모리 메니지먼트
Page change : segmentation(물리적 크기),paging(논리적 크기)
가상 메모리
프로그램 양 > 처리를 위해 사용하는 양
실 메모리보호,메모리 매핑,공정한 물리적 메모리할당,가상메모리의 공유
시스템의 물리적인 메모리의 양보
|
- 페이지 26페이지
- 가격 3,000원
- 등록일 2004.03.20
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include <stdio.h>
#include <stdlib.h>
#define MAX 100
// 구조체 타입을 정의(by. linked list)
typedef struct chunk{
int start;
int size;
struct chunk *link;
}chunk;
chunk *avail;
// 초기화 함수
void init(){
chunk *init;
init=(chunk*)malloc(sizeof(chunk));
avail = ini
|
- 페이지 4페이지
- 가격 5,000원
- 등록일 2007.07.26
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|