Code Monkey home page Code Monkey logo

reboot's People

Contributors

redrock912 avatar

Watchers

James Cloos avatar  avatar

reboot's Issues

뇌를 자극하는 c++

맨 뒤의 const 는 이 함수 자체를 const 로 명명.
그리고 이 자체함수 내에서도 const 함수만 사용하게끔 함.

생성자는 const인 것처럼 인식.

스마트포인터 : 모든 포인터를 클래스로 관리하는 클래스

explicit 정확하게 그 식으로만 사용되게끔 만들어줌

int -> class

class 내부에 타입형 operator 선언으로 class-> int 이런식으로 선언가능

함수 포인터
선언된 함수에 포인터를 선언해서 연결시켜줌
클래스 멤버함수도 사용할 수 있는데 사용하려면 멤버함수의 스코프에 맞춰서 쓰면됨.

콜백함수
함수내에서 함수를 사용하게 끔 해주는 stl의 핵심요소.

cosnt 차이로 실행 순서의 여부가 결정된다.

템플릿 : 클래스 내에 있는 모든 것의 타입을 바꿀 수 있는 틀(template)

  • 벡터 자체도 템플릿의 일종. priority_queue 도 템플릿의 일종, 왠만한 stl의 구성 요소는 템플릿의 일종.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.