Skip to content

Huixxi/Fast-C-plus-plus

Repository files navigation

Source: https://www.geeksforgeeks.org/c-plus-plus/

A Fast C++ Tutorial For Beginners.

C++ is a very important programming language, even though python is really hot in today's AI context.

Introduction.

This is a basic tutorial of C++ for beginners. From Basic Datatypes to Standard Template Library(STL).
It is mainly based on the book C++ in One Hour a Day, Sams Teach Yourself(8th Edition).
-------Update 2020-3-1-------
Adding a "A Deep Understanding of STL's Source Code" part in Chinese.

C++ IDE Recommend

  • Visual Studio is highly recommended if you do c++ development on Windows or Mac. It is free(the community version), and powerful, which is suited to large project development.
  • Clion is also highly recommended. It is cross-platform(pc, mac, linux), powerful and easy to compile and debug. But it is not free and don't have the community version. If you are a student, you can apply for a free individual license for one year.
  • Some lightweight tools: Code Blocks | Visual Studio Code | Qt, open source version
  • Online IDE runs in browser: Cpp Online

Trouble Shoot During Clion Installation

Error after you type in you username and password: Can not connect to the remove sever, ..., then you should edit your hosts file(/etc/hosts on Linux) to comment the urls that related to JetBrains.

Hello World!

#include <iostream>

int main(){
    std::cout << "Hello World!" << std::endl;
    return 0;
}

Tutorial Catalogue

First, I assume that you have some basic knowledge of C or C++.
Before we start, let's walk through the Basic Introduction About C++ roughly to recall some basic and important points. (All the codes in this introduction are from this tutorial video: https://www.youtube.com/watch?v=vLnPwxZdW4Y, I just sort the video content into text form.)

About

Python is too short, you need C++.:snail:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages