C/C++의 경우
size_t
그리고
ssize_t
가 있는데
전자는 unsigned 후자는 signed
C
size_t
:
https://en.cppreference.com/w/c/types/size_t
stddef.h 헤더에 정의.
C++
size_t
:
https://en.cppreference.com/w/cpp/types/size_t
stddef.h 대신 cstddef 헤더를 include하면 std::size_t 로 쓸 수 있음.
https://namu.wiki/w/size_t
C++에선 auto가 better
길이,length
지름,diameter
반지름,radius
...
mkl
양,quantity
측도,measure
(too misc+easy? del ok)
크기를 곱셈으로 구하는 경우
일반적인 곱셈을 하는 경우:
직사각형,rectangle
— 두 수를
곱셈,multiplication
한 결과인
곱,product
이 직사각형의 크기인
넓이,area
.
같은 것을 두 번 곱하는 경우(
제곱,square
) —
정사각형,square
Retrieved from http://red-ruby.com/wiki/wiki.php/크기,size
last modified 2024-02-25 05:23:16