|
#include\\\"head.h\\\"
void gotoxy(int x, int y) //콘솔창의 좌표에 커서이동
{
COORD Pos = {x - 1, y - 1};
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), Pos);
}
void game()
{
//게임을 한번 더 할 것인지에 관한 사용자의 의사를 기록
char another_g
|
- 페이지 31페이지
- 가격 3,000원
- 등록일 2010.08.30
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
#include<stdio.h>
int Add(int i, int j)
{
int result = i+j;
return result;
}
int main(void)
{
int d;
d = Add(3, 4);
printf("%d \n", d);
return 0;
}
함수의 형태
전달 인자와 반환 값, 둘 다 있는 함수
전달 인자는 있지만 반환 값이 없는 함수
전달 인자는 없
|
- 페이지 22페이지
- 가격 3,000원
- 등록일 2006.12.20
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
불안전 코드(Unsafe Code)
C#은 포인터 연산이나 스택 기반의 배열 등 C/C++에서 주로 사용되는 프로그래밍 요소들을 지원하지만 사용하지 않을 것을 권고
비관리 코드(Unmanaged Code)
.NET Runtime에 의해서 관리되지 않는 코드
.NET Application의 실행 쓰
|
- 페이지 8페이지
- 가격 300원
- 등록일 2008.04.01
- 파일종류 피피티(ppt)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
반드시 기술되어야 하며, 이 부분이 참인 상수를 기술하면 반복을 무한히 실행한다.
while( 1 ) chapter 1. 프로그래밍 첫걸음
chapter 2. 프로그래밍 기초
chapter 3. 변수와 자료유형
chapter 4. 전처리와 입출력
chapter 5. 연산자
chapter 6. 제어문
|
- 페이지 8페이지
- 가격 4,200원
- 등록일 2012.10.17
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
Problem: Distance Formula (distance.c)
To test their idea, the Math Academy would first like a short program that computes the distance between two points on a Cartesian Plane. The students are expected to work their problems on paper and then compare their answers to the answers generated by your
|
- 페이지 3페이지
- 가격 1,300원
- 등록일 2012.07.23
- 파일종류 워드(doc)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
4.소스코드
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <windows.h>
#define TRUE 1
#define FALSE 0
#define GAME_TYPE 5
#define TIME 1000
#define START_MONEY 3000
#define SPEED 110
#define CARD_SPEED 200
int main_menu(int menu); // <
|
- 페이지 57페이지
- 가격 3,300원
- 등록일 2013.01.03
- 파일종류 압축파일
- 참고문헌 있음
- 최근 2주 판매 이력 없음
|
|
y) //오름차순으로 정렬해줌
{
int temp;
int a,b;
for(a=0; a<y; a++)
{
for(b=a; b<y-1; b++)
{
if(val[a]>val[b+1]) //뒤쪽의 숫자가 더 작을경우 값을 바꾸어서 정렬시킴
{
temp=val[a];
val[a]=val[b+1];
val[b+1]=temp;
}
}
}
}
문제 4. 사용자로부터 임의의 자연수를 입력받
|
- 페이지 5페이지
- 가격 3,300원
- 등록일 2012.08.31
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
c[81] = "hello";
handle = _open("abc.txt", O_RDWR | O_CREAT);
if(handle == -1)
perror(“error detected”);
printf("핸들값 : %d\n", handle);
_write(handle, "hello", 6);
_read(handle, c, 6);
printf("%s\n", c);
if(_close(handle) == -1){
printf("정상 종료 실패\n");
return 0;
}
printf("정상종료 \n");
retur
|
- 페이지 24페이지
- 가격 3,300원
- 등록일 2012.04.24
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
엘리트사원 찾기 코드중 일부.
#include<stdio.h>
struct profile{ //구조체템플릿선언
char name[20];
double grade;
int toeic;
};
void input_date(profile new_staff[]); //프로토타입
void elite(profile new_staff[]);
int main()
{
struct profile new_staff[5]; //구조체 변
|
- 페이지 10페이지
- 가격 1,500원
- 등록일 2010.02.08
- 파일종류 압축파일
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|
|
x,E[i].y);
putch(Tile[ENEMY]);
if(board[E[i].x][E[i].y]==CAR)
{
return 1;
}
board[E[i].x][E[i].y]=ENEMY;
}
else //맨 아랫줄이면 다다르면 사라진다.
{
if(board[E[i].x][E[i].y]==CAR)
{return 1;}
E[i].go=0;
return 0;
}
}
}
return 0;
}
void NewEnemy()
{
int i;
if((rand()%(5+level))==0) //level의 변수를
|
- 페이지 7페이지
- 가격 1,000원
- 등록일 2010.04.02
- 파일종류 한글(hwp)
- 참고문헌 없음
- 최근 2주 판매 이력 없음
|