레포트 (13,972)
[c언어 API프로그래밍] c언어 윈도우 API프로그래밍 관련 문제.
구조체를 이용하여 성적처리하는 프로그램을 구현하시오.1.18 #include void values(int arry, int number)//배열 num이 array배열로 전달됨int i;for (i = 0; i
3페이지 | 1,000원 | 2008.09.18
체적인 순환 구조를 설정하는 것이었다. 함수를 이용한다면 반복된 출력으로 간단히 해결 할 수 있었지만, 이를 사용할 수 없는 경우로서 동일한 소스를 반복 작성하지 않으면서 순환 구조를 만들어 내는 것이 쉽지만은 않았다. 다시 한번 함수의 중요성을 느끼는 부분이었다. 이번 프로그램에서 가장
12페이지 | 1,000원 | 2007.04.23
C 언어의 구조를 상세히 설명하시오.☞ C 언어의 구조에는 도입부, main , 함수 의 3가지로 구성된다.* 도입부 - 프로그램의 시작부분으로 프로그램 설명, 상수(매크로)정의(#define문),디스크상에 서 편입할 파일을 지정(#include문),프로그램 전체에 걸쳐 사용되는 변수배열 (전역변수)을 선언하는 부분이다
5페이지 | 0원 | 2004.05.19
lh, n-1);SwapIntegerElements(array, lh, rh);int FindSmallestInteger(int array, int low, int high)int i, spos;spos = low;for (i = low; i
7페이지 | 0원 | 2004.05.19
c#include #include genlib.h #include simpio.h main()int i, value, total;printf( This program adds a list of ten numbers.\n );total = 0;for (i = 0; i < 10; i++) printf( ? );value = GetInteger( );total += value;printf( The total is %d\n , total);Unit 2.5 Read-until-sentinel idiomwhile (TRUE) prompt user and read in a valueif (value sentinel) break;rest of bodyw
7페이지 | 0원 | 2004.05.19
c1 :statements1 break;case c2 :statements2 break;default :statementsdef break; e.g switch (n) case 1: printf( Ace\n ); break;case 11: printf( Jack\n ); break;case 12: printf( Queen\n ); break;case 13: printf( King\n ); break;default : printf( %d\n , n); break;Unit 3.10 while statementwhile (condition) statements e.g. digitsum.cmain()int n, dsum;printf( Enter a
9페이지 | 0원 | 2004.05.19
c);main()int c;printf( Celsius to Fahrenheit table. \n);printf( C F\n);for (c = LowerLimit;c
11페이지 | 0원 | 2004.05.19
(g + x/g) / 2;return (g);Taylor series expansioncoeff * xpower / dactorialdouble Tsqrt(double x)double sum, factorial, coeff, term, xpower;int i;factorial = coeff = xpower = 1;sum = 0;term = 1;for (i = 0; sum != sum + term; i++) sum += term;coeff *= (0.5 - i);xpower *= (x -1);factorial *= (i + 1);term = coeff * xpower / factorial;return (sum); 4(C) 1996 Eun Man Choi
6페이지 | 0원 | 2004.05.19
c file - implementation#include simpio.h simpio.h simpio.c main()GetInteger() int i;GetReal()GetLine() i=GetInteger();.. Unit 6.2 Graphics library#include graphics.h coordinate(absolute, relative)32(2.5, 1.5)(2.0, 1.5) (0.5, 0.0) Relative10 graphics.h => modified by authordosgraph.h => original graphics.hInitGraphics()MovePen(x, y)DrawLine(dx, dy)DrawArc(r, start, sweep)
14페이지 | 0원 | 2004.05.19
Class 7. Interface DesignInterface designRandom number generatingSaving in libraryEvaluating the design of the interfaceUsing random number packagesUnit 7.1 Interface designconsistantsimplesufficientgenerall stableWell designed interfaceunified e.g. sqrt function => math.hconsistent abstractione.g. coorinate specify in inch, angleInformation hidingrandom.cint pseudo;void setr
9페이지 | 0원 | 2004.05.19