Code Monkey home page Code Monkey logo

c-c-study_log's Introduction

C-C-STUDY_LOG

It will record some details about my study of C/C++

bilibili:

  1. C++ 高级开发:https://www.bilibili.com/video/BV1X54y1q79Z?p=4
  2. 侯捷老师的课:https://www.bilibili.com/video/BV14s411E772?from=search&seid=17007499127476653328 视频录制时间 2015年

github

  1. https://github.com/harvestlamb/Cpp_houjie 侯捷老师课程的相关笔记

0 初始

  1. 语言的精神是一致的,学习一种语言就可以了解其他语言。
  2. C++ 98 --- 1.0 目前大多数人都在用的版本 C++ 11 ---- 2.0
  3. 不用C++标准库的程序员不是有生产力的程序员。

1 一些注意的点

  1. 数据放在privite里面
  2. 参数以reference来传,加不加const看情况
  3. 返回值也以reference来传,如果返回局部数据则不可以使用reference传
  4. 类内的函数尽可能加const
  5. 构造函数冒号:初始化方法,尽量要去用它

2 具体实践

  1. C++ 实现的简单的复数程序,特点:没有指针
  2. C++ 实现的简单的字符串程序,特点:有指针

c-c-study_log's People

Contributors

buerakun1024 avatar

Watchers

 avatar

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.