프로그래밍언어론
페이지 정보
작성일 19-08-25 00:32
본문
Download : 프로그래밍언어론.hwp
프로그래밍언어론 , 프로그래밍언어론공학기술레포트 , 프로그래밍언어론
설명
Download : 프로그래밍언어론.hwp( 77 )
프로그래밍언어론,공학기술,레포트
1. 각 언어의 데이터 타입 및 제어구조의 종류
C언어
데이터 타입
정수 데이터유형
short int
2byte 부호있는 정수
unsigned short int
2byte 부호없는 정수
int
4byte 부호있는 정수
unsigned int
4byte 부호없는 정수
long int
4byte 부호있는 정수
unsigned long int
4byte 부호없는 정수
실수 데이터유형
float
4byte
double
8byte
문자 데이터유형
char
1byte
제어구조
조건 분기문
if, switch
반복문
while, for, do-while
무조건 분기문
goto, break, continue, return
C++언어
데이터타입
Type Name
Bytes
Range of Values
int
System dependent
unsigned int
System dependent
int8
1
128 to 127
int16
2
32,768 to 32,767
int32
4
2,147,483,648 to 2,147,483,647
int64
8
9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
bool
1
false or true
char
1
128 to 127
unsigned char
1
0 to 255
short
2
32,768 to 32,767
unsigned short
2
0 to 65,535
long
4
2,147,483,648 to 2,147,483,647
long long
8
9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
unsigned long
4
0 to 4,294,967,295
enum
Same as int
float
4
3.4E +/- 38 (7 digits)
double
8
1.7E…(To be continued )




프로그래밍언어론
레포트/공학기술
순서
프로그래밍언어론
다.