일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- Keras
- java역사
- 데이터전문기관
- 대이터
- CES 2O21 참가
- vscode
- mglearn
- pycharm
- C언어
- 재귀함수
- inorder
- classification
- 자료구조
- web 개발
- 결합전문기관
- web 사진
- postorder
- paragraph
- 웹 용어
- broscoding
- KNeighborsClassifier
- 머신러닝
- bccard
- cudnn
- tensorflow
- web
- discrete_scatter
- CES 2O21 참여
- html
- web 용어
- Today
- Total
목록[IT]/C++ (14)
bro's coding
python: int image[480][640][3]; openCV: int image[3][480][640];

#include #include #include double comput(double x1, double x2, double y1, double y2) { return sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2)); } int main() { int size; scanf("%d", &size); double **point = (double**)malloc(sizeof(double*)*size); for (int i = 0; i < size; i++) { point[i] = (double*)malloc(sizeof(double) * 2); } for (int i = 0; i < size; i++) { scanf("%lf %lf", &point[i][0], &point..
#define _CRT_SECURE_NO_WARNINGS #include int main() { int n[3] = { 1,2,3 }; char *p = n;//byte단위로 이동하기 위해 char 형 pointer를 선언한다. int i; for (i = 0; i < 12; i++) { printf("%3d", *(p + i)); } puts(""); for (i = 0; i < 12; i++) { printf("%3d", p[i]); } puts(""); for (i = 0, p = n; i < 12; i++, p++) { printf("%3d", *p); } /* 1 0 0 0 2 0 0 0 3 0 0 0 1 0 0 0 2 0 0 0 3 0 0 0 1 0 0 0 2 0 0 0 3 0 0 0 */ r..