본문 바로가기

반응형

전체 글

(618)
게시판 만들기 - 1 ( JDK1.8, SpringBoot 2.x RestFul API, JPA, Oracle ) 기본에 대한 복습을 위해, 게시판을 다시한번 만들어 보도록 하겠습니다. 1. 환경설정 JDK1.8 설치 https://www.oracle.com/kr/java/technologies/javase/javase8-archive-downloads.html Java Archive Downloads - Java SE 8 | Oracle 대한민국 죄송합니다. 검색 내용과 일치하는 항목을 찾지 못했습니다. 원하시는 정보를 찾는 데 도움이 되도록 다음을 시도해 보십시오. 검색에 사용하신 키워드의 철자가 올바른지 확인하십시오. 입력 www.oracle.com 아직도 현장에서는 JDK1.8 이 가장 많이 쓰이는 버전입니다. sts 설치 ( 4.17.2 ) IntelliJ .. 저도 쓰고 싶지만.. 비싸서 무료를 씁니다....
Mendix 프로그램 설치 하기 https://www.mendix.com/ Low-code Application Development Platform | Mendix Mendix is the fastest & easiest low-code platform used by businesses to develop mobile & web apps at scale. Visit to learn more & try the platform for free! www.mendix.com 무료 가입후, 개발 프로그램인 Mendix Studio Pro 를 설치한다. 2023-02-20 일 현재 기준 9.22.0 파일이 최신이었다. 파일명 : Mendix-9.22.0.62233-Setup.exe 설치형 프로그램으로, 윈도우에서는 일반 프로그램 설치와 동일하게..
변수 바꾸기 - 포인트로 받으면서 크기를 지정 #include #include #include void swap_double(double a[static 2]){ double tmp = a[0]; a[0] = a[1]; a[1] = tmp; } int main(void){ double A[] = {1.0,2.0,}; swap_double(A); printf("A[0] = %g, A[1] = %g\n",A[0], A[1]); return EXIT_SUCCESS; } 실제로 A 배열의 갯수를 늘리면 동작은 하지만, 경고가 보이게 된다.
Modern C 에서는 bool 타입의 활용이 가능하다. stdbool.h 를 include 하면 활용가능! #include #include #include int main(void){ bool test = true; if(test){ printf("TRUE"); } return EXIT_SUCCESS; }
Modern C에서 이름있는 배열선언과 활용 #include #include int main(void){ enum corvid { magpie, raven, jay, corvid_num, }; char const*const bird[corvid_num] = { [raven] = "raven", [magpie] = "magpie", [jay] = "jay", }; for(unsigned i=0;i
size_t modern C에서 쓰이는 size_t 플랫폼에 따라 자동으로 크기가 바뀌는 양의 정수를 표현함! 크기나 원소 개수를 표현하는데 적합하다. 헤더는 stddef.h 이러한 비슷한 얘들이 있다. ptrdiff_t : 크기차이를 표현하는데 적합 포인터의 크기차이를 이용하여, 배열의 크기 차이를 나타낼때 표현한다. #include #include int main(void) { const size_t N = 100; int numbers[N]; printf("PTRDIFF_MAX = %ld\n", PTRDIFF_MAX); int *p1=&numbers[18], *p2=&numbers[23]; ptrdiff_t diff = p2-p1; printf("p2-p1 = %td\n", diff); return EXIT_S..
기본으로 돌아가서 다시하는 C #include #include int main(void){ double A[5] = { [0] = 9.0, [1] = 2.9, [4] = 3.E+25, [3] = .0007, }; for(size_t i = 0; i< 5;++i){ printf("element %zu is %g , \tits square is %g\n", i, A[i], A[i]*A[i]); } return EXIT_SUCCESS; } Modern C 헬로우 월드 입니다. 예전에 대학대 배우던것과 많이 달라졌습니다=ㅁ=; c99 라고하는데, 분명 대학교 01년도 때 배웠을때는 이러지 않았는데 말이죠... 컴파일은 macOS 기준 c99 -o 실행명 소스명 -lm 으로 하면됩니다.
네트워크 강좌 정리 - 2 씬클라이언트, 제로 클라이언트 관련. PoE. Power of Ethernet 예전 더미 터미널 같이, 화면과 키보드, 마우스만 있음. 이더넷 연결시 파워도 연결되는 형태 MTU (Maximum Transmission Unit ) 최대 전송 유닛 - 클라우드에서 중요함! 복습! OS7계층 Application Presentation Session Transport - 데이터 전송 신뢰 제공 Network - 경로 찾기 - IP - 라우터 - 패킷 DatalInk - 물리적인 주소 - 맥주소 Physical ICMP (Internet Control Message Protocol ) -> ping 이 여기에 속함. IP 보완 DNS (Domain Name System) DHCP( Dynamic Host Co..

반응형