GithubHelp home page GithubHelp logo

ccc's Issues

按天区分的源代码

up主有没有按天区分的源代码呀?一天一个目录这样子的。不然就只能边看视频边抄视频中的代码了。

编译报错 error: ‘shared_ptr’ in namespace ‘std’ does not name a template type

wade@wade-MACHR-WX9:cmake-build-debug$ make
Scanning dependencies of target c100
[ 12%] Building CXX object CMakeFiles/c100.dir/src/main.cpp.o
In file included from /home/wade/learn/compiler/c100/src/main.cpp:2:
/home/wade/learn/compiler/c100/src/Lexer.h:69:10: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
69 | std::shared_ptr CurrentToken;
| ^~~~~~~~~~
/home/wade/learn/compiler/c100/src/Lexer.h:15:1: note: ‘std::shared_ptr’ is defined in header ‘’; did you forget to ‘#include ’?
14 | #include <string_view>
+++ |+#include
15 |
make[2]: *** [CMakeFiles/c100.dir/build.make:63: CMakeFiles/c100.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/c100.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

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.