IT_forum_J

IT_forum_J

  • 분류 전체보기 (26)
    • Algorithm (1)
    • Spring (6)
    • JAVA (0)
    • GitHub (3)
    • 소프트웨어공학 (1)
    • Python (8)
    • 끄적끄적 (2)
    • 프로젝트 (3)
    • AI (0)
    • C (2)
  • 홈
  • 태그
  • 방명록
  • GitHub
RSS 피드
로그인
로그아웃 글쓰기 관리

IT_forum_J

컨텐츠 검색

태그

openapi 프로그래머스 시스템모델링 DI xml2js javascript 꽃추천 springboot react spring 프로젝트 PYTHON github 데이터누리집 C 코딩테스트 기초 Flora ActivityDiagram branch

최근글

댓글

공지사항

아카이브

C(2)

  • [C] 이차방정식 계산

    #define _CRT_SECURE_NO_WARNINGS #include #include int main() { double a, b, c; while (1) { printf("Input coefficients(A, B, C) : "); int rV = scanf("%lf %lf %lf", &a, &b, &c); if (rV 0) { double root1 = (-b + sqrt(result)) / 2 * a; double root2 = (-b - ..

    2024.03.27
  • [C] 시프트 연산자를 이용한 bit 변환

    📌 정수 => bit #define _CRT_SECURE_NO_WARNINGS #include int main() { int temp; printf("Input number : "); scanf("%d", &temp); for(int i=31; i>=0; i--) { printf("%d", (temp >> i) & 1); } } 📌 실수 => bit // 배정밀도 초과수 : 1023 / 단정밀도 초과수 : 127 #define _CRT_SECURE_NO_WARNINGS #include #include int main() { double temp; long long int* p = (long long int*)&temp; printf("Input number : "); scanf("%lf", &temp);..

    2024.03.27
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바