---
title: "Discussion on \"C/c++ 단순 연결 리스트 C++ 클래스 화\" | Hashnode"
description: "Discussion on \"C/c++ 단순 연결 리스트 C++ 클래스 화\". 개요\n전 글에서 공부한 단순 연결 리스트의 구성과 함수를 C++의 클래스로 바꿔 작성해 보았다. 전 글과 함수의 구현 로직은 같기에 코드와 실행 결과만 첨부하고자 한다.\n클래스가 되며 바뀐 점\n사실 Node에 대한 것은 structure을 사용하나 class를 사용하나 별 차이가 없다. LinkedList에 대해 살펴볼 점은 first의 위치이다. 기존 structure을 사용할 때는 모든 함수에 기본적으로 인자로 first를 줘서 어떤 연결 ..."
url: "https://hashnode.com/posts/cc-c/65adf2f9f811a94c65b92d7b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [C/c++ 단순 연결 리스트 C++ 클래스 화](https://blog.skku-comit.dev/cc-c?utm_source=hashnode&utm_medium=feed)

개요 전 글에서 공부한 단순 연결 리스트의 구성과 함수를 C++의 클래스로 바꿔 작성해 보았다. 전 글과 함수의 구현 로직은 같기에 코드와 실행 결과만 첨부하고자 한다. 클래스가 되며 바뀐 점 사실 Node에 대한 것은 structure을 사용하나 class를 사용하나 별 차이가 없다. LinkedList에 대해 살펴볼 점은 first의 위치이다. 기존 structure을 사용할 때는 모든 함수에 기본적으로 인자로 first를 줘서 어떤 연결 ...

Jan 22, 2024 · 3 min read · blog.skku-comit.dev  
Read the article

-   [#cpp](https://hashnode.com/tag/cpp)
-   [#linkedlists](https://hashnode.com/tag/linkedlists)
-   [#data-structures](https://hashnode.com/tag/data-structures)

## Written by

[Gon Tae](https://hashnode.com/@WhynotGon)

@WhynotGon

  
[View profile](https://hashnode.com/@WhynotGon)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
