Giter Site home page Giter Site logo

vs2022 C++14 运行报错 about mytinystl HOT 8 OPEN

Fightinggi avatar Fightinggi commented on June 9, 2024
vs2022 C++14 运行报错

from mytinystl.

Comments (8)

Fightinggi avatar Fightinggi commented on June 9, 2024 1

好的谢谢

请问你解决这个问题了吗

algorithm_test.h(722,66)这个库文件这一行的中文注释删除就可以正常测试了

from mytinystl.

JiJunJie04 avatar JiJunJie04 commented on June 9, 2024 1

删除中文注释就可以了,真奇怪

from mytinystl.

ZixinChen-S avatar ZixinChen-S commented on June 9, 2024

Test\algorithm_test.h(722,66): error C2059: 语法错误:“)”

https://blog.csdn.net/qq_41632571/article/details/126996802这个链接可以解决你的问题,改一下编码方式就行。如果你的MVS找不到高级保存选项,可以看这个https://blog.csdn.net/qq_41868108/article/details/105750175

from mytinystl.

Fightinggi avatar Fightinggi commented on June 9, 2024

好的谢谢

from mytinystl.

YangWeirdly avatar YangWeirdly commented on June 9, 2024

好的谢谢

请问你解决这个问题了吗

from mytinystl.

YangWeirdly avatar YangWeirdly commented on June 9, 2024

我试试看,谢谢

from mytinystl.

15536818056 avatar 15536818056 commented on June 9, 2024

改成ANSI好像也行

from mytinystl.

LeBron-Jian avatar LeBron-Jian commented on June 9, 2024

我感觉是编译器对注释中的非 ASCII 字符(如中文字符)的处理可能存在差异, 也可以不删除,直接使用 /* 因为提供的是 C++11 的支持,std::is_permutation 可能没有 C++14 的接口 */ 这样也可以编译通过

from mytinystl.

Related Issues (20)

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.