-
Updated
Mar 29, 2020 - Java
C++
C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.
Here are 22,751 public repositories matching this topic...
对于数组[1, 2, 3, 4] 和 [4, 3, 2, 1] 你的冒泡排序算法是否都能获得不错的效率?
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
Problem Statement
Today, we treat each converter type as a high-level navigation item. This means that if you want to switch between volume and weight converters, you need to navigate to an entirely different page. While we do offer shortcuts to switch between modes, they are not very discoverable (#157), and parsing a mixed list of calculators and converters is unnecessarily more complex tha
-
Updated
Jan 22, 2020 - 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?
-
Updated
Mar 18, 2020 - C++
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.
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:
The C++ howto and //examples/helloworld/cc:hello_world
target depend on //cc:cleartext_keytext_handle
which does not have public visibility in Bazel. As far as I can tell it is not
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
Library name: Copperspice
Library description: CopperSpice is a set of individual libraries which can be used to develop cross platform software applications in C++.
Source repository URL: https://github.com/copperspice/copperspice
Project homepage (if different from the source repository): https://www.copperspice.com/
Anything else that is useful to know when adding (such as optional
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
Really easy little refactor. We use the following macro to loop over all peeps:
FOR_ALL_PEEPS(sprite_index, peep)
It basically does something similar to:
for (spriteIndex = gSpriteListHead[SPRITE_LIST_PEEP]; spriteIndex != SPRITE_INDEX_NULL; spriteIndex = nextSpriteIndex)
{
auto peep = &(get_sprite(spriteIndex)->peep);
nextSpriteIndex = peep-
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
The current graph zoom level should be stored to the ApplicationSettings, but not displayed in the preferences dialog.
Implementation suggestion:
- in
ApplicationSettings
add getter and setter for zoom level - in
QtGraphicsView
store and load this new setting
The ParseTreeWalker class has a typo the runtime documentation of the enterRule method. Here is the link to the docs: https://www.antlr.org/api/Java/index.html
-
Updated
Mar 30, 2020 - TeX
Vcpkg is a C++ dependency management system that makes installation and consumption as a dependency very easy. We should support this for VW to allow consuming the lib as easy as possible.
Instructions for creating a new package can be found here: https://github.com/microsoft/vcpkg/blob/master/docs/examples/packaging-github-repos.md
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
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
-
Updated
Mar 15, 2020 - C++
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
The links on the FAQ page in the wiki still point to the old wiki, which seems to be deprecated.
AFAICT they are equivalent. Found a usage of PyObject_str here and it looks like the optimization isn't made in other places where we just do str(x)
.
I was happy to see that the usage of PyUnicode_Join was unnecessa
-
Updated
Jan 29, 2020 - C++
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