[c언어]c언어 초급자를 위한 필수 17개 프로그램
- 최초 등록일
- 2005.12.16
- 최종 저작일
- 2005.07
- 13페이지/ MS 워드
- 가격 1,000원
소개글
간단한 프로그램들 같지만서도 직접할려고 하면 힘들었던 c초보자들을 위한
프로그램들입니다. 책에 있는것도 있지만 반정도는 제가 응용한 프로그램들입니다.
이거보시고 초보 탈출하세요. (근데 완전 초보 수준은 아니랍니다. 조금 난해 할수도.. 프로그램 짧은거 한개 본문에 올려놓았으니 보시고 참고 하세요.)그리고 후속으로 초중급, 중급 프로그램까지 올려
놓았습니다. 그럼 열심히...!!
목차
1. The use of User defined Data Type i.e. enum.
2. Program for fixing The Bonus of employee using nested if else if statement.
3. Program for using switch-case statement.
4. Program using for loop.
5. C Program for arrays.
6. C program for strings.
7. strings.
8. Program to perform addition two matrices.
9. value and address.
10. This is a Program which illustrates how the a variable can be accessed by pointer.
11. Program uses the pointers and arrays with the help of pointer the contents of the array can be displayed.
12. Program for accessing the string using a pointer variable.
13. This Program for is for assigning the values to the structure variable. Also for retrieving the values.
14. Program for maintaining the students’ database using structure.
15. Program for nested structures.
16. This Program is for assigning the values to the structure variable.
17. Program for performing Bit-wise AND and OR Operation.
본문내용
1)C Program:
/*************************************************************
The use of User defined Data Type i.e. enum
*************************************************************/
#include<stdio.h>
#include<conio.h>
main()
{
int roll1,roll2;
enum standard {FIRST,SECOND,THIRD,FOURTH};
enum standard s1,s2;
clrscr();
printf(“\n Enter the roll numbers for two students”);
scanf(“%d%d”,&roll1,&roll2);
s1=FIRST;
s2=FOURTH; /*assigning the standards*/
printf(“\nThe Roll Number %d is admitted to
%d st Standard”,roll1,s1+1);
printf(“\nThe Roll Number %d is admitted to
%d th Standard”,roll2,s2+1);
getch();
}
2)C program
/*************************************************************
Program for fixing The Bonus of employee using nested if else if
statement.
*************************************************************/
#include<stdio.h>
#include<conio.h>
void main()
참고 자료
없음