xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

C++ 从入门到放弃 All In One

C++ 从入门到放弃 All In One

$ gcc -v
# $ gcc --version

$ g++ -v
# $ g++ --version

$ clang clang -v
#$ clang clang --version

image

C++ Tutorial

#include <iostream>
using namespace std;

int main() {
  cout << "Hello world!";
  return 0;
}

https://www.sololearn.com/Course/CPlusPlus/

https://www.runoob.com/cplusplus/cpp-tutorial.html

macOS

macOS C/C++ 开发环境 / IDE

  1. vscode + extensions

https://xie.infoq.cn/article/1dd3fe369ec9f3db5661570fa

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "build",
            "command": "clang++",
            "args": [
                "-o",
                "main", // 执行文件名称
                "main.cpp", // 需要执行的源文件
                "-g",
                "-v"
            ],
            "type": "shell",
            "presentation": {
                "echo": true,
                "reveal": "always",
                "panel": "shared"
            },
            "problemMatcher": {
                "owner": "cpp",
                "fileLocation": [
                    "relative",
                    "${workspaceRoot}"
                ],
                "pattern": {
                    "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
                    "file": 1,
                    "line": 2,
                    "column": 3,
                    "severity": 4,
                    "message": 5
                }
            }
        }
    ]
}

  1. Dev-C++

Dev-C++ 是一套用于开发 C/C++ 的自由的集成开发环境,并以 GPL 作为散布许可。
使用 MinGW 及 GDB 作为编译系统与调试系统。
Dev-C++ 的 IDE 是利用 Delphi 开发的.

https://github.com/Embarcadero/Dev-Cpp

Fast, Portable, Simple, and Free C/C++ IDE for Windows

https://www.embarcadero.com/free-tools/dev-cpp

refs

https://github.com/xgqfrms/C-plus-plus/



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2021-02-26 23:01  xgqfrms  阅读(116)  评论(2编辑  收藏  举报