본문으로 건너뛰기
아카데미
초급 코드 지구

C와 C++

기계 가까이에서, 속도를 위해 만들어졌어요.

C++ runs under game engines, web browsers, databases and trading systems: anywhere every microsecond counts. It grew out of C, which Dennis Ritchie created at Bell Labs in the early 1970s, when Bjarne Stroustrup began adding classes to it in 1979. Today it is a modern language with a rich standard library.

This intro course uses C++20 and the g++ compiler. You start with what compiling means and write real programs with strings, vectors and algorithms. Then you go close to the machine: the stack and the heap, references and pointers, classes that clean up after themselves, smart pointers, and the undefined behaviour every C++ developer must learn to avoid. Every program in it was compiled with warnings on and run.

레슨
14
시간
2시간
난이도
초급

이 코스의 레슨은 당분간 영어로 제공돼요.

  • 브론즈 도전 가능
  • 실버 도전 가능
  • 골드 잠김

실력을 증명할 준비됐나요?

브론즈, 실버, 골드 세 가지 시험이 기다리고 있어요.

시험 보러 가기

이 코스를 마치면 할 수 있는 것

  • Compile and run C++ programs with g++, and read its errors and warnings
  • Write programs with variables, functions, loops, strings and vectors
  • Sort, search and count with <algorithm> and lambdas
  • Explain the stack, the heap, references and pointers
  • Manage resources safely with classes, RAII and smart pointers
  • Recognise undefined behaviour and catch it with sanitizers

여정

  1. 1
    챕터 1

    First programs

    Compiling, variables and types, control flow, functions, vectors and algorithms.

    0 / 5
  2. 2
    챕터 2

    Memory and objects

    The stack and the heap, references and pointers, RAII, smart pointers and undefined behaviour.

    0 / 5
  3. 3
    챕터 3

    Next steps

    Templates, move semantics, CMake and threads: the road to real-world C++.

    0 / 4

빠른 탐색