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 24,328 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 19, 2020

有一幅以二维整数数组表示的图画,每一个整数表示该图画的像素值大小,数值在 0 到 65535 之间。

给你一个坐标 (sr, sc) 表示图像渲染开始的像素值(行 ,列)和一个新的颜色值 newColor,让你重新上色这幅图像。

为了完成上色工作,从初始坐标开始,记录初始坐标的上下左右四个方向上像素值与初始坐标相同的相连像素点,接着再记录这四个方向上符合条件的像素点与他们对应四个方向上像素值与初始坐标相同的相连像素点,……,重复该过程。将所有有记录的像素点的颜色值改为新的颜色值。

最后返回经过上色渲染后的图像。

示例 1:

输入:
image = [[1,1,1],[1,1,0],[1,0,1]]
sr = 1, sc = 1, newColor = 2
输出: [[2,2,2],[2,2,0],[2,0,1]]
解析:
在图像的正中间,(坐标(

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'.
  2. Home screen will be displayed.​
  3. Navigate through Menu using keyboard and Choose either 'Standard' or 'Scientific Calculator'.
  4. Navigate to History button and activate it.
  5. Navigate to any list item and press context menu button.
  6. Context menu will open.
  7. Navigate to delete button and activate it.
  8. Observe the issue.

**Actual Re

openpose
heisters
heisters commented May 1, 2020

Issue Summary

Documentation and error messages are misleading when using a release version of Caffe on Ubuntu.

Executed Command (if any)

cmake .. -DBUILD_CAFFE=OFF -DCaffe_INCLUDE_DIRS=/usr/include/caffe -DCaffe_LIBS=/usr/lib/x86_64-linux-gnu/libcaffe.so

OpenPose Output (if any)

-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identificatio

📚 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

The prebuild of yuzu comes with no instructions on how to actually use it.
Most linux users will realize that they can just use ./yuzu , but some newbies might not know that.
There is also no dependency list for the prebuild version. This makes you need to either start yuzu and try to install whatever it says missing until it actually runs, or you need to install the dependencies for builiding i

heinezen
heinezen commented May 4, 2020

The new converter (#1151) uses member objects to operate on data from the .dat files. While these provide the necessary functions for conversion, they are also significantly larger than the original dat file entries (20x - 400x the size). This results in a comparatively high memory usage, especially for DE2 which uses ~1.6 GB of memory for all dat file entries. Note that the converter does not

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

japj
japj commented Apr 18, 2020

Library name:
oRTP

Library description:
oRTP is a C library implementing the RTP protocol (rfc3550). It is available for most unix clones (primilarly Linux and HP-UX), and Microsoft Windows.

Source repository URL:
git://git.linphone.org/ortp.git
(mirror at https://github.com/BelledonneCommunications/ortp)

Project homepage (if different from the source repository):
http://www.linphon

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

tupaschoal
tupaschoal commented May 1, 2020

Create an overload of gfx_draw_string_left on \src\openrct2\drawing\Text.cpp with the same name, but that takes a const ScreenCoordsXY& object instead of an int32_t x and and an int32_t y and replace the calls to the {x ,y} pair by the one using ScreenCoordsXY.

Don't try to do all calls at once, unless it doesn't occur a lot, as this might lead to a huge PR. When we stop using the

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.