Skip to Content
우아한 C언어 코딩 패턴
book

우아한 C언어 코딩 패턴

by Christoper Preschem, 정기훈(Jung Ki Hun)
April 2024
Beginner to intermediate
364 pages
7h 2m
Korean
Insight
Content preview from 우아한 C언어 코딩 패턴
C
35
1장이 오류 처리에 중점을 두었다면, 이번 장에는 오류 처리에 대한 내용과 함
께 탐지된 오류에 대한 오류 코드를 사용자에게 알려주는 방법에 집중할 것
이다.
프로그램 규모가 커질수록 프로그래머들은 자신이 작성한 코드에서 발생하
는 오류에 대처하는 방법, 서드 파티 코드에서 발생하는 오류에 대처하는 방
법, 이러한 오류 정보를 코드 내에서 전달하는 방법, 이러한 오류 정보를 사용
자에게 알려주는 방법 등을 정해야 한다.
대부분의 객체 지향 프로그래밍 언어는 예외(exception) 처리라는 편리한 메
커니즘을 통해 프로그래머에게 오류 정보 반환을 위한 추가 채널을 제공하지
만, C는 기본적으로 이러한 메커니즘을 제공하지 않는다. 물론
《
Object-Orient-
ed Programming with ANSI-C
》
1
와 같이 C에서의 예외 처리, 심지어 예외 처리
간 상속을 에뮬레이트하는 법을 기술한 서적도 있기는 하다. 그러나 비(非) 객
체 지향적인 기존 C 코드로 작업하는 C 프로그래머나 혹은 개인적으로 익숙한
기본 C 스타일을 고수하는 C 프로그래머에게 이와 같은 메커니즘을 받아들이
도록 하는 것은 좋은 방법이 아니다. 대신, 기본 C에서 제공하는 오류 처리 메
커니즘 활용 지침이 필요하다.
1
https://oreil.ly/YK7x1
2
장
Fluent C
오류 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

파이썬으로 살펴보는 아키텍처 패턴

파이썬으로 살펴보는 아키텍처 패턴

오현석, 해리 퍼시벌, 밥 그레고리
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀
개발 7년차, 매니저 1일차

개발 7년차, 매니저 1일차

권원상, 한민주, 카미유 푸르니에

Publisher Resources

ISBN: 9788966264742