일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- html
- vscode
- java역사
- discrete_scatter
- CES 2O21 참여
- inorder
- web 개발
- 웹 용어
- tensorflow
- mglearn
- 데이터전문기관
- cudnn
- pycharm
- 결합전문기관
- 대이터
- C언어
- 자료구조
- web 사진
- postorder
- broscoding
- 재귀함수
- classification
- paragraph
- CES 2O21 참가
- Keras
- web
- 머신러닝
- bccard
- web 용어
- KNeighborsClassifier
- Today
- Total
목록[IT]/C++ (14)
bro's coding
python: int image[480][640][3]; openCV: int image[3][480][640];
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/qMP1O/btqCDkVxw8s/rmbZ81myUD66f80ka0pgKK/img.png)
#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..