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언어 코딩 패턴
Fluent
212
󻱴󽴔󽴔󻃧󻇄󻱟󽴔󻱇󼗿󼡧󻱃󻝳
char* loginname
=
account
-
>loginname;
account
=
getNext(account);
loginname
=
account
-
>loginname;
...
}
현재의 인터페이스에서는 한 번에 한 개의 무작위 인덱스 접근 로그인 이름을
제공하기 때문에 상황이 어려워진다. 추가로 이것을 지원하기 위해서는
get
Next
함수를 호출하고 인덱싱된 요소에 도달할 때까지 세는 것으로 인덱스를
에뮬레이트해야 한다. 이는 상당히 비효율적이다. 충분히 유연하게 인터페이
스를 설계하지 않아서 발생한 문제다.
작업을 더 쉽게 하려면 로그인 이름에 접근할 수 있는 커서 반복자(Cursor It
-
erator)를 제공하면 된다.
󼎳󻗫󽴔󻃧󻇄󻱟
󼎷󼘜󻝳󼞇
무작위로 또는 순차적으로 접근할 수 있는 자료 구조에 저장된 요소 집합이 있
다. 예를 들어 배열, 연결 리스트, 해시 맵, 트리 등의 자료 구조가 있다. 사용자
는 이러한 요소를 반복하려 한다.
󻀇󻳫
󻃧󻇄󽴔󻷠󻪟󽴔󻭣󻙛󺃏󽴔󻆏󺆌󺣧󺝣󽴔󺆌󻭿󻪟󺢓󽴔󺅻󺆯󼨧󺽃󻗫󺢓󺕧󻷠󻪟󽴔󻕻󻭸󻱟󽴔󼐣󺦫󺹋󽴔󻆏󺆌󼨯󽴔󼨓󻭣
󻪕󻱃󽴔󺋿󻇇󽴔󻱟󺶛󽴔󺈻󻴿󺹋󽴔󻆏󺆌󼨯󽴔󻛧󽴔󻱗󺝣󽴔󻃧󻇄󽴔󻱇󼗿󼡧󻱃󻝳󺹋󽴔󻕻󻭸󻱟󻪟󺅛󽴔󻳫󺇄󼨧󺳳󽴔󼨫󺞳
사용자는 코드베이스를 사용하면서 버전 관리나 배포 관리 없이 코드를 작
성하는 사람일 수도 있으므로, 현재 버전 ...
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

AI를 위한 필수 수학

AI를 위한 필수 수학

할라 넬슨
파이썬으로 살펴보는 아키텍처 패턴

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

오현석, 해리 퍼시벌, 밥 그레고리
개발 7년차, 매니저 1일차

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

권원상, 한민주, 카미유 푸르니에
클라우드 네이티브 애플리케이션 디자인 패턴

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

카순 인드라시리, 스리스칸다라자 수호티얀

Publisher Resources

ISBN: 9788966264742