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,450 public repositories matching this topic...

biko-the-bird
biko-the-bird commented Jul 7, 2018

The chat tutorial listed for elixir is outdated. It uses a old version of phoenix and could be confusing to new users who would be learning a oudated set of syntax, application structure, commands i.e. mix phoenix.create vs. mix phx.create.

Also it's missing some steps. For one this they never do mix ecto.create without which the postgres database is not initialized so the app doesn't wo

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

UxiBeo
UxiBeo commented Apr 19, 2020

Library name: BehaviorTree.CPP

Library description: This C++ 14 library provides a framework to create BehaviorTrees. It was designed to be flexible, easy to use, reactive and fast.

Source repository URL: https://github.com/BehaviorTree/BehaviorTree.CPP

Project homepage (if different from the source repository):

Anything else that is useful to know when adding (such as optional feature

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

Gymnasiast
Gymnasiast commented Apr 22, 2020

Setting an RCT1 path only fully works if (1) csg1i.dat is present. (2) it's a Loopy Landscapes install. When setting an RCT1 path, these points are not properly checked and warned for, leaving the user to wonder why it doesn't work.

So, when setting the RCT1 path, it should work like this:

  • Check if csg1i.dat is present. If not, display a warning telling users to copy it from the CD to the RC
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 ..

ram-bv
ram-bv commented Apr 12, 2020

Stefan Behnel wrote:

No. "@cython.cfunc" declares a function or method as a pure C function,
without a Python interface to it, and for methods, it only applies to
extension types and not regular Python classes.

It's interesting that Cython allowed you to set it on the "__iter__" method
which cannot, in fact, be a C method because it's one of Python's special
methods. We s

Created by Bjarne Stroustrup

Released October 1985

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