Skip to content
#

C++

cpp logo

C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.

Here are 23,433 public repositories matching this topic...

TylerNichols
TylerNichols commented Jul 26, 2018

"Build a Simple HTTP Server with Java" is a page that has literally 3 popups and tons of other advertisements littered about. I don't know if there are standards that should be made for the quality of a project but this certainly has to be a violation...

leetcode
azl397985856
azl397985856 commented Mar 24, 2020

集合 S 包含从1到 n 的整数。不幸的是,因为数据错误,导致集合里面某一个元素复制了成了集合里面的另外一个元素的值,导致集合丢失了一个整数并且有一个元素重复。

给定一个数组 nums 代表了集合 S 发生错误后的结果。你的任务是首先寻找到重复出现的整数,再找到丢失的整数,将它们以数组的形式返回。

示例 1:

输入: nums = [1,2,2,4]
输出: [2,3]
注意:

给定数组的长度范围是 [2, 10000]。
给定的数组是无序的。

来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/set-mismatch

Fleischner
Fleischner commented May 14, 2019

Team up with vcpkg
Related: microsoft/vcpkg#6154

Sync/verify port descriptions (vcpkg <-> awesome-cpp)
Sync/verify port license information (vcpkg <-> awesome-cpp)
Library Homepage (vcpkg <- awesome-cpp)
Vcpkg availability, operating system support, version, build status (vcpkg -> awesome-cpp)
Dependency level; level0=no deps; level1=depends on any level0; ... (vc

calculator
MicrosoftIssueBot
MicrosoftIssueBot commented Apr 14, 2020

Repro Steps:

  1. Launch "Calculator" app.
  2. Home screen will be displayed.
  3. Navigate to menu button and activate it.
  4. Navigate to "Graphing" list item and activate it.
  5. Navigate to "Graph options" button and activate it.
  6. Navigate to "Reset view" link.
  7. Verify the luminosity ratio of "Reset view" link via Colour Contrast Analyser tool.
  8. Observe the issue.

**Actual Resu

openpose
arduinepo
arduinepo commented Apr 10, 2020

Hi,
I thank you very much for your excellent work. However, I endure difficulties understanding your code ; my Java and Python training explain it a bit, but I think it would be great for everyone if it was documented. I mean a short explanation of each - complex - function, its role and its algorithm. I would be especially interested in a documentation of the tracker.
I thank you very much in a

📚 C/C++ 技术面试基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。This repository is a summary of the basic knowledge of recruiting job seekers and beginners in the direction of C/C++ technology, including language, program library, data structure, algorithm, system, network, link loading library, interview experience, recruitment, recommendation, etc.

  • Updated Apr 19, 2020
  • C++
jug007
jug007 commented Mar 25, 2020

I was not able to find any instructions on where to put the keys.prod file.
Someone in discord told me it goes into ~/.local/share/yuzu/keys/
That folder was not even created by yuzu.

I feel like the folder should be created by yuzu at runtime and that there should be instructions on where to put the keys.prod file in the first place.

I was using build 20200324-2e484ccc7 for this.

galkinvv
galkinvv commented Jan 21, 2020

The doc is great! Hoewever some areas are still missing.
C++11 intoduced raw string literals: https://en.cppreference.com/w/cpp/language/string_literal

It is useful in many different areas, like strings with quotes, multiline strings and for example windows paths without escaping backslashes:

const char win_path[] = R"(c:\some\unescaped\path)";

The same cppreference link als

traversaro
traversaro commented Apr 16, 2020

Library name: ruby

Library description: ruby interpreter

Source repository URL: https://github.com/ruby/ruby

Project homepage (if different from the source repository): https://www.ruby-lang.org

Anything else that is useful to know when adding (such as optional features the library may have that should be included):

As done for Python in https://github.com/microsoft/vcpkg/blob/2020.

matiTechno
matiTechno commented Dec 19, 2019

Frequent bug: while sorting by y-coordinate, the vertices are sorted, but the data coming with the vertices is not.
Gouraud shading, forgot to sort intensities

In my case I was calculating a barycentric coordinate of one vertex and assigning it to a different vertex by mistake.
The artifacts looked exactly the same as you presented, if it is the same problem then the description could be

brenoguim
brenoguim commented Apr 19, 2020

The coding style wiki mentions this section:

/// Template parameters should be prefixed with `_T`, e.g. `_TFoo`
template<typename _TGenerator, typename _TSizeType = size_t>
void take(_TGenerator g, _TSizeType num)
{
}

Notice that all identifiers that start with underscore followed by a capitalized char (like _T) or identifiers that start with double underscores (__t) are res

chriseth
chriseth commented Mar 26, 2020

The type checker contains multiple occurrences of

		if (noErrors)
			for (Source const* source: m_sourceOrder)
				if (source->ast)
					for (ASTPointer<ASTNode> const& node: source->ast->nodes())
						if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get()))

These should be extracted into some helper "forAllContracts" or something like that, which takes

devjgm
devjgm commented Jan 20, 2020

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
I'd like the source code to be automatically clang-formatted according to my settings anytime the code is compiled. That is, don't require me to use the contextual menu or keyboard shortcut to format the code. Just auto-format it; just like the code is auto-compiled too.

Well, ther

ihorner
ihorner commented Apr 7, 2020

I'd like to be able to set sound source volumes via AppleScript or similar — I can't seem to find any information regarding this, and the dictionary seems to only apply to setting output.

I'm using BetterTouchTool to send volume levels from a midi device with faders, and I'd like to associate the faders with different sources in BackgroundMusic.

badda71
badda71 commented Mar 26, 2020

Is there a way to let the citra gdbstub automatically break on unmapped memory access? Right now, citra handles unmapped access gracefully and only spits out an error in the log. The real 3DS hardware will crash on unmapped memory access but the current Rosalina gdbstub will at least break with SIGSEGV and let you examine the process remains.
Would be nice if it was possible with citra as well ..

LordAro
LordAro commented Mar 31, 2020

With the following testcase:

print("str: '%08s'" % (""))
print("str: '%08s'" % ("",))

When run with python (3.8):

 $ python3 foo.py
str: '        '
str: '        '

When compiled with cython (0.29.15):

 $ cython --embed -3 foo.py && gcc foo.c -lpython3.8 -o foo
 $ ./foo
str: '        '
Traceback (most recent call last):
  File "foo.py", line 2, in in

Created by Bjarne Stroustrup

Released October 1985

Website
isocpp.org
Wikipedia
Wikipedia
You can’t perform that action at this time.