close
The Wayback Machine - https://web.archive.org/web/20200423174740/https://github.com/topics/c-plus-plus
Skip to content
#

c-plus-plus

cpp logo

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

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

electron
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

IvanFarkas
IvanFarkas commented May 28, 2019

What's the ETA for updating the massively outdated documentation?

Please update all documents that are related building CNTK from source with latest CUDA dependencies that are indicated in CNTK.Common.props and CNTK.Cpp.props.
I tried to build from source, but it's a futile effort.

liuyi
liuyi commented Jul 6, 2016

API Document is out of date, please update it.
A example:
cc.TextureCache()
dumpCachedTextureInfo()
Output to cc.log the current contents of this TextureCache
This will attempt to calculate the size of each texture, and the total texture memory in use.

in this link: http://www.cocos2d-x.org/docs/api-ref/js/v3x/

check code, we can find some infomation:
TextureCache: dumpCachedTextureInfo()

jean-airoldie
jean-airoldie commented Jun 6, 2019

Here is some general documentation improvement suggestion regarding flatbuffers. This is what I remember struggling with (from the top of my head). Also some point might be a little bit opinionated.

Some of the points were taken from #5387.

  • Regarding the builder:
    • The fact that its kinda like an arena allocator used for serialization.
    • The concept of offsets, what do they repre
tenbob
tenbob commented Apr 26, 2019

I searched the documentation, but I can't find any explanation of the "Write changes" and "Revert changes" buttons.

It's confusing for a new user that changes are not fully saved until you click "Write changes". The documentation should point this out and give a description of the underlying mechanism.

I still can't understand what is going on. Does the program issue a BEGIN or a SAVEPOINT

philsquared
philsquared commented Mar 24, 2020

Describe the bug
When TEMPLATE_LIST_TEST_CASE and TEMPLATE_LIST_TEST_CASE_METHOD were added, the corresponding versions with the CATCH_ prefix were missed.

Expected behavior
CATCH_TEMPLATE_LIST_TEST_CASE and CATCH_TEMPLATE_LIST_TEST_CASE_METHOD should be available.

Additional context

The commit that added TEMPLATE_LIST_TEST_CASE and `TEMPLATE_LIST_TEST_CASE_MET

mooninite
mooninite commented Sep 2, 2019

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

xbmc/interfaces/python/PythonInvoker.cpp

There are a three references in the file above to the private interfaces of PyInterpreterState.

Example:

s = state->interp->tstate_head;

Python 3.8 has finally removed the public interfaces to PyInterpreterState. The C documentation has al

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.

pabloarizaluna
pabloarizaluna commented Aug 3, 2019

When i run python3 download_sdks.py i get HTTP Error 404: Not Found.

Here the full error message:
Traceback (most recent call last):
File "download_sdks.py", line 74, in
main()
File "download_sdks.py", line 43, in main
u = request.urlopen(url)
File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/us

hwiesmann
hwiesmann commented Mar 11, 2020

Expected Behavior

Proper/documented intentional conversion between different integer types.

Current Behavior

At a couple of positions in the code longs are converted to int without proper casting. While this may be nowadays relatively uncritical (most of the computers are probably running with 64 bit integers anyway), there might be some issues on older machines where (unsigned) long an

aseprite
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

dlaugt
dlaugt commented Nov 2, 2019

Floating numbers should have thousand separator with specifier 'n' like python.

Python:

>>> from locale import setlocale, LC_ALL
>>> setlocale(LC_ALL, 'en_US')
'en_US'
>>> '{:n}'.format(1234)
'1,234'
>>> '{:n}'.format(1234.56)
'1,234.56'

C++

setlocale(LC_ALL, "en-US");
fmt::format("{:n} {:n}", 1234, 1234.56);
// gives 1,234 1234.56
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

gdbgui
bensums
bensums commented Mar 21, 2020

Is there a default seed? I copied the Python code from seed_test.py and removed the set_seed calls. The test passed thousands of times despite no set_seed calls being made. Is this expected? If so, can we document this? Is there an explicit default seed?

Just as a sanity check, I modified the calls to set the seed to two distinct values and it failed every time, as expected.

The reason I'm a

Created by Bjarne Stroustrup

Released October 1985

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