The Wayback Machine - https://web.archive.org/web/20200301122831/https://github.com/topics/cpp
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 22,106 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 Jan 15, 2020

你的朋友正在使用键盘输入他的名字 name。偶尔,在键入字符 c 时,按键可能会被长按,而字符可能被输入 1 次或多次。

你将会检查键盘输入的字符 typed。如果它对应的可能是你的朋友的名字(其中一些字符可能被长按),那么就返回 True。

 

示例 1:

输入:name = "alex", typed = "aaleex"
输出:true
解释:'alex' 中的 'a' 和 'e' 被长按。
示例 2:

输入:name = "saeed", typed = "ssaaedd"
输出:false
解释:'e' 一定需要被键入两次,但在 typed 的输出中不是这样。
示例 3:

输入:name = "leelee", typed = "lleeelee"
输出:true
示例 4:

输入:name = "laiden", typ

calculator
Maxou44
Maxou44 commented Jan 24, 2020

Describe the bug

When we copy the result of a calc, we got a number with space character between numbers (Eg: "2 365 596")

Steps To Reproduce

Steps to reproduce the behavior:

  1. Calc 568 * 568 * 568
  2. Copy the result
  3. Clic on "C"
  4. Paste the previous number
  5. Invalid number ("Entrée non valide" on a French app)

Expected behavior
Remove spaces when we copy it.

openpose
simonsan
simonsan commented Nov 2, 2019

Right now we give the following information (e.g.):

openage v0.4.0-69-g9412facd
opengl
MSVC 19.16.27032.1 [/DWIN32 /D_WINDOWS /W3 /GR /EHsc /MP]
Cython 0.29.14

For future debugging on the user side we could give more information:

  • OpenGL version number
  • nyan-lib version number
  • libc
  • sdl-version
  • Qt-version
  • maybe even opus-codec version

In addition:
jj quote:

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

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

duncanspumpkin
duncanspumpkin commented Feb 12, 2020

When deleting tiles with the tile inspector it shouldn't be possible to delete all the tiles at one coordinate. There should always be at least one (it could also be argued there should always be a surface element as many functions assume that).

Marenz
Marenz commented Feb 5, 2020

@ekpyron and I went a bit over the testcases code (while looking at #8238) and come up with the following ideas for a refactor:

  • remove validateSettings and the related variables m_settings and m_validateSettings. Instead add a function void addSetting() that takes a string and a lambda/function pointer that is called for each setting that is found. The lambda can set desired member va
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

samwalshnz
samwalshnz commented Apr 6, 2019

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

Amnesia1000
Amnesia1000 commented Feb 3, 2019

Add a Hotkey to enable/disable 3D. Besides a scroll bar (for example in the status bar) and Hotkey to change the 3D percentage. Having the 3D activated (in the monitor/TV) it is a nuisance to open the options dialog boxes (or disable and re-enable the 3D in the TV/Monitor) to modify the percentages, or enable or disable the 3D. This would make it much easier for the user to handle the 3D of the em

Created by Bjarne Stroustrup

Released October 1985

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