Coder Social home page Coder Social logo

cpplearn's Introduction

Learn cpp

This is a repository for learning C++ programming language. the link of the website is here

# Only for learn cpp
# www.learncpp.com
export LEARNCPP_BIN_PATH=/Users/bytedance/Desktop/Projects/cpplearn/bin
export LEARNCPP_SRC_PATH=/Users/bytedance/Desktop/Projects/cpplearn/src

function runcpp() {
  local chapter="$1"
  local name="$2"
  mkdir -p "$LEARNCPP_BIN_PATH/$chapter"
  mkdir -p "$LEARNCPP_SRC_PATH/$chapter"
  g++ -Weffc++ -Wextra -Wconversion -Wsign-conversion -Wall -pedantic-errors -std=c++17 -o "$LEARNCPP_BIN_PATH/$chapter/$name" "$LEARNCPP_SRC_PATH/$chapter/$name".cpp && "$LEARNCPP_BIN_PATH/$chapter/$name"
}

function runcpps(){
  local chapter="$1"
  local name="$2"
  mkdir -p "$LEARNCPP_BIN_PATH/$chapter"
  mkdir -p "$LEARNCPP_SRC_PATH/$chapter"
  g++ -Weffc++ -Wextra -Wconversion -Wsign-conversion -Wall -pedantic-errors -std=c++17 -o "$LEARNCPP_BIN_PATH/$chapter/$name" "$LEARNCPP_SRC_PATH/$chapter/$name"/*.cpp && "$LEARNCPP_BIN_PATH/$chapter/$name"
}

structure

  • /src: contains the source code of the examples
  • /bin: contains the compiled code
  • /doc: contains the documentation
  • /tmp: contains the temporary files
  • ...

content

  • chapter 0 Introduction 12/12
  • chapter 1 basics 12/12
  • chapter 2 Basics: Functions and Files 14/14
  • chapter 3 Debugging
  • chapter 4 Fundamental Data Types
  • chapter 5 Constants and Strings

cpplearn's People

Watchers

Yan Keyu 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.