레포트 (31,066)
IP주소와 prefix 길이가 주어지면 해당 블록의 첫 주소, 마지막 주소, 주소의 수를 반환하는 함수를 C언어로 작성하라.① 입력- int a,b,c,d,e,f = 1,prefix; int i; int x32,z32; int y32 = 0,;정수형으로 각 주소와 prefix형태들을 선언해준다.② 출력- 입력된 IP주소와 prefix입력 시 : 첫 번째 주소와 블록의 마지막
7페이지 | 2,000원 | 2008.12.08
[언어의이해C]인간언어의 특징을 동물의 언어와 비교해서 제시하고, 소쉬르 언어학의 주요 내용을 설명
언어의 특징생물학상의 사람은 원숭이, 침팬지 등 유인원(類人猿)과 함께 ‘척추동물문(脊椎動物門), 포유강(哺乳綱), 영장목(靈長目)’에 딸린 동물이다. 그리스의 철학자 프로타고라스(Protagoras, B.C. 485~415?)가 ‘인간은 만물의 척도(尺度)’라 한 바 있어, 우리는 그 사람을 자못 위대한 존재로 인식
20페이지 | 3,000원 | 2010.09.27
[c언어 API프로그래밍] c언어 윈도우 API프로그래밍 관련 문제.
실습문제1.4 : 1부터 1000까지 출력 하시오1.5 : 1부터 1000까지 짝수만 출력하시오.1.6 : 1000부터 1까지 5의 배수만 출력 하시오.1.7 : 1부터 1000까지 점점 느리게 출력하는 프로그램을 구현하시오.힌트) 큰 수를 출력 할수록 출력을 더 지체시키는 루프가 필요하다.1.8 : 1부터 1000까지 더한 결과를 출력하시
3페이지 | 1,000원 | 2008.09.18
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