C++
C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.
-
- Sign up for GitHub or sign in to edit this page
- Created by Bjarne Stroustrup
- Released October 1985
Here are 19,232 public repositories matching this topic...
Curated list of project-based tutorials
-
Updated
Oct 15, 2019 - 444 commits
Windows Calculator: A simple yet powerful calculator that ships with Windows
-
Updated
Oct 15, 2019 - 275 commits
- C++
OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
-
Updated
Oct 15, 2019 - 580 commits
- C++
infer version v0.15.0
in my case, 0xFFFF or 0xFFFFFFFF is a common initializer and there are a lot of this semantics in our code. I would like to ignore those harmless. but if I turn off liveness checker, I worry about missing some truely harmful bugs. Does Infer provide some filtering option or method?
NOTE: Undocumented parts of the source code you will most likely find by going through the openage c++/python reference and watch out for empty classes/members/functions/etc.
The last days I was setting up doxygen/sphinx+breathe to properly generate a nice documentation for
Tink is a multi-language, cross-platform, open source library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.
-
Updated
Oct 15, 2019 - 1 commits
- Java
📚 C/C++ 技术面试基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。
-
Updated
Oct 15, 2019 - 306 commits
- C++
A brief computer graphics / rendering course
-
Updated
Oct 15, 2019 - 89 commits
- C++
An open source re-implementation of RollerCoaster Tycoon 2 🎢
-
Updated
Oct 15, 2019 - 17 commits
- C++
When generating the Yul intermediate code of Solidity programs, strings are always translated to hex numbers. This prevents readability of IR code. Because of that, the code generator should detect if a string can be represented in printable ascii chars (for safety) and use that instead.
How to implement:
Add a function std::string formatAsStringOrNumber(std::string const& _value) in `l
Does the function replace just the first instance matched or every single instance found inside the file?
Could the line
Replace a string in a file.
Be modified to reflect the exact behaviour please? I looked at the documentation at https://vcpkg.readthedocs
As as a user I would expect all of the following calls to behave indentically. Only the first two calls works, the other two are incorrect. All of these should be able to parse a multiline example.
ex = vw.parse("| a:1 b:0.5\n0:0.1:0.75 | a:0.5 b:1 c:2")
print(ex)
ex = vw.parse("""| a:1 b:0.5
0:0.1:0.75 | a:0.5 b:1 c:2""")
print(ex)
ex = vw.parse("""
| a:1 b:0.5
0:0.1:0.75 | a:0
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
-
Updated
Oct 15, 2019 - 7 commits
- Java
Consider https://gcc.godbolt.org/z/O4aVOC - this fails with a linker error: undefined reference to std::filesystem::__cxx11::directory_iterator::operator*() const'`
It was pointed out on discord that if the executable comes first, the link succeeds, i.e. this is a link order issue.
Specifically:
/opt/compiler-explorer/gcc-8.3.0/bin/g++ -g -o /tmp/output.s -masm=intel -fdiagnostics
Bartosz Milewski's 'Category Theory for Programmers' unofficial PDF and LaTeX source
-
Updated
Oct 15, 2019 - 272 commits
- TeX
User story:
I'm watching a YouTube video. The person speaking in the video pauses for a moment before sentences. The pauses are long enough to be considered as 'silent' to BackgroundMusic and therefore the music plays, but then the person speaking in the video continues speaking, triggering the music playback to stop. Note: there's also a delay between the moment the person starts speaking a
Overview
As suggested in #4623, Citra should support binding a hotkey to activate the frontend microphone implementation. Games that use the microphone tend to enable the mic while launching, even if the game is not going to read the data from the shared page till much later.
My personal design suggestions for implementors:
Support for this feature should fully stop any input stre
Create high-quality charts from the command line
-
Updated
Oct 15, 2019 - 4 commits
- C++
Consider the following case
cdef class Foo(object):
def __bool__(self):
return True
def __nonzero__(self):
return self.__bool__()
This causes a RecursionError when calling bool(Foo())
I know the work around is specifying only __bool__ but it's still a bug IMHO
Your Environment
- Operating System and version: CI Ubuntu 18.04
- Compiler: gcc 5.4
- PCL Version: HEAD
Context
Prevents #3379 from being merged
Current Behavior
Warning as reported by the CI
[ 67%] Building CXX object test/features/CMakeFiles/test_cvfh_estimation.dir/test_cvfh_estimation.cpp.o
/__w/1/s/apps/cloud_composer/src/cloud_view.cpp: In copy constructor 'pcl:
Learn about cpp
- Website
- isocpp.org
- Wikipedia
- Wikipedia
给定一个 N 叉树,找到其最大深度。
最大深度是指从根节点到最远叶子节点的最长路径上的节点总数。
例如,给定一个 3叉树 :
我们应返回其最大深度,3。
说明:
树的深度不会超过 1000。
树的节点总不会超过 5000。
来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree
著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。