본문 바로가기 메뉴 바로가기

y.log

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

y.log

검색하기 폼
  • 분류 전체보기 (25)
    • Swift (14)
      • 문법 (2)
      • Swift (6)
      • Debugging Notes (6)
    • Kotlin (3)
    • Algorithm (1)
      • Debugging Notes (1)
    • 학부 수업 (2)
      • 풀스택서비스네트워킹 (2)
    • Projects (0)
    • y.log (5)
  • 방명록

Algorithm/Debugging Notes (1)
[C++] Cannot jump from switch statement to this case label 오류 해결

Xcode로 코딩하다 난데없이 나타난 Cannot jump from switch statement to this case label 오류. https://en.cppreference.com/w/cpp/language/switch 를 통해 알아보니 라고 한다. 즉 위 case: 문에서 init_statement를 작성한 경우, 아래 case: 문에서 x에대한 초기화 없이 x를 사용하기 때문에 오류가 난다고 이해했다. (잘못되었다면 지적 부탁드립니다.) 그래서 switch(1) { case 1: int x = 0; // initialization std::cout

Algorithm/Debugging Notes 2022. 1. 3. 19:36
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 유즈케이스
  • UITest
  • swift
  • KeyChain
  • 웹모바일
  • 클린 아키텍처
  • collectionViewCell
  • http/1.1
  • 오토레이아웃
  • 2023년
  • BeautifulSoup
  • XCTest
  • CRAWL
  • IOS
  • http/1
  • Clean Architecture
  • Realm
  • 회고
  • Info.plist
  • 부스트캠프
  • Kotlin
  • snapkit
  • dismiss
  • 스위프트
  • CollectionView
  • Autolayout
  • equaltosuperview
  • 네트워킹
  • IntrinsicContentSize
  • 2024년
more
«   2025/06   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바