Questions tagged [c++]
Software related to the C++ programming language, including development environments, editors, compilers, analyzers, and libraries.
560
questions
0
votes
0
answers
8
views
Library for convex and decreasing regression in cpp (preferrably based on spline)
I need a method to fit a convex and decreasing curve on a set of points (the points may not be monotonic) in cpp.
I found a existing method which is based on quadratic splines being fit over points ...
1
vote
0
answers
9
views
C++ library that include std::vector, std::array and std::span functionality but with different size types and with capacity versions
It's pretty common I run into need to wrap C apis that only take 32bit integer, or 32bit unsigned arrays (or even smaller). But passing either std::span or std::vector into these APIs causes my ...
1
vote
0
answers
15
views
Are there any tools that can be used to compute condition branch complexity?
I have tried lizard and codalyze, but both can't perfectly meet my needs. For example
bool foo(int n) {
if (n > 10) {
if (n % 2 == 0) {
return true;
}
else {
...
0
votes
0
answers
33
views
Online C++ Compilers
Are there any online services that allow generating an executable file (.exe) from C++ code? Additionally, it is important for me that this service has an API.
I need to send a request to an API with ...
0
votes
0
answers
5
views
Windows App SDK The Right Framework For Porting a Project?
We have our own C++ rendering engine at work. I use either UWP or Win32 exclusively for windowing and then build the entire UI and functionality using the engine. There's a new project which requires ...
0
votes
0
answers
6
views
Seeking a Library or API for Oscilloscope Data Measurement with Python, C, or C++ Integration
I'm developing a simple oscilloscope using Python and Qt6.
For now I have completed the visual part (sine waves etc) and I was wondering if there is a library or API available for measuring ...
0
votes
0
answers
19
views
Header only C++ library for arbitrary precision fixed-point maths
I am searching for a C++ library for arbitrary precision fixed-point arithmetic. It should be header-only and ideally have dynamic precision (so changeable precision at runtime). I searched the web ...
0
votes
1
answer
24
views
Free C++ library implementing hierarchical clustering or alike
Which can cluster small number of points by the given maximum distance between them.
Two dimensions only.
1
vote
0
answers
39
views
Is there an open source C++ library to read powerpoint files? Will reading .pdfs be easier than reading .pptx files?
I am currently undertaking a project in C++ that requires me to read pptx files. I am wondering if there are some open-source C++ libraries which will allow me to read pptx files. The only one I could ...
0
votes
0
answers
6
views
Cplusplus Compiler For MATLAB
I am writing a MAT-File code in order to be used in commercial software. When I am running the code in the software, the software gives me an error. It says you should install Ming-w64 C++ Compiler. ...
0
votes
0
answers
12
views
Eigen-like algebra library with Tensor & Autodiff support
So far, I have used Eigen in my C++ projects. However, I'm developing a new project where I need Tensors and Autodiff.
Although Eigen has Tensor and Audodiff modules, they are not supported (they are ...
0
votes
0
answers
8
views
C++ persistence library
I need a persistence c++ library with the following attributes:
Cross platform (Android/macOS/Windows)
Read/Write in a given folder in an atomic way
Nice to have: encryption
Serialization is not ...
0
votes
0
answers
19
views
Translate a C++ graphical program to Web?
I have a collection of little educational games that I wrote some 15 to 20 years ago, dual-targeted for Mac and Windows. They are written in C++, and use native 2D graphics on each operating system. I ...
0
votes
0
answers
9
views
Does anyone know an arbitrary precision LA library for c++?
Does anyone know any more C++ linear algebra libraries with arbitrary precision, preferably using GMP? I have a program using GMP that needs to use singular value decomposition at one point. Currently,...
0
votes
0
answers
41
views
Looking for an open-source terminal emulator written in modern C++
I often have to temporarily break my Python installation on Ubuntu in order to automate the configuration of cmake builds. Not a difficult break to fix, because I just replace the symlink in /usr/bin.
...
0
votes
0
answers
17
views
C++ code summary tool
I'm looking for a tool which will take as input a C++ source file, and output (in plain text, HTML, PNG, PDF, whatever format) a summary containing at least a list of the functions defined in the ...
1
vote
1
answer
20
views
C++ performance analysis
I have a program that I optimized for better performance by using multi-threading via C++ execution policies. That way it now uses ~80% of the CPU, which is much better than the 10% before.
However, I ...
0
votes
0
answers
34
views
I am looking for an image viewer library similar to OpenSeaDragon but compatible for C++
I am working on a windows MFC application, and I would like to rewrite the image viewer using something similar to OpenSeaDragon to utilize it's tile fetching/caching capabilities. I have something ...
0
votes
0
answers
16
views
C++ Which library to use when I need to create separate log file for each thread
I want to write logs into separate files - one log file for each thread. Which C++ library has support for this?
I tried PLOG but it needs static int instanceid as its template parameter while ...
0
votes
1
answer
26
views
Low level cross-platofrm C game API
I would like to code games, but the issue is, I only get the algorithms down. I have a hard time creating the user interfaces. I have used Metal for Mac, but this is non-portable. I have considered ...
0
votes
0
answers
32
views
C++ library to read encrypted PDF documents that runs on iOS and Android
I am using Flutter and a plugin to read the encrypted pages which depend on Apache PDFBox, a Java library, but they are slow in rendering the all pages for phones with less RAM; one way is to decrypt ...
0
votes
1
answer
17
views
C++ library providing generic shared-resource locking wrapper
I have a pool of threads that asynchronously acquire and execute tasks in a queue. Some of these tasks operate over some shared resources. I would like to:
Provide a contract that separates shared ...
0
votes
0
answers
15
views
Live Note detection C++
Am trying to create a project using rock pi that will be able to a handle microphone input and then find specific note that person is singing during a live demonstration. Searched online to see what c+...
1
vote
1
answer
545
views
C/C++ header-only library to read and write image files?
I am looking for a header-only C++ library that allows me to read images in various (common) file formats.
My usage will be conceptually no more complicated than this self-explaining pseudocode:
// ...
0
votes
0
answers
16
views
Is there a Machine learning tool (like Weka, Orange) that will be able to export models and implement them in C/C++ code for edge computing?
I'm looking for Machine learning/AI tool, that would allow to work with data, train and compare various models and then have a possibility to deploy those models on embedded systems in C/C++ ...
0
votes
0
answers
7
views
Is there any file-based caching library for C++?
I am looking for something similar to Diskcache
My requirement is for it to store pure json data...
I want a library to be able to store json response data from a webrequest
(Basically just json data)
0
votes
0
answers
12
views
Measure FPS of an arbitrary window
I would like to measure the refresh rate of an arbitrary window. I am not sure, if there is a generic way to do this, but on the other hand, some FPS measuring tools exist:
XBox Game Bar, however, ...
0
votes
0
answers
41
views
TLV library in C++
I'm looking for a C++ library implementing TLV (https://en.wikipedia.org/wiki/Type-length-value).
The goal is to serialize the table as below:
{1:"Apple",2:42,3:true}
{4:"Orange",5:...
1
vote
0
answers
12
views
Allocation lifespan tracking tool for C++ programs
Suppose you're working on a C++ program which allocates multiple large buffers at different points in time. Suppose also this allocation doesn't necessary happen by kernel sbrk-like calls, but also ...
1
vote
0
answers
36
views
Library to embed ActionScript into C++
I've never worked with action script or knew of its existence before so please bear with me.
I have some ActionScript3 code which does some incredibly complicated maths to generate some models. I ...
3
votes
2
answers
3k
views
LIghtweight C++ IDE with simple UI tool, based on GCC, no dependencies such as .NET or other DLLs
Wen I started programming with C++ about 20 years ago Visual Studio was a really great tool to create GUI based C++ applications. As a student I had access to professional version which is still ...
2
votes
1
answer
50
views
Need to find the simplest way to implement a neural network
I am currently doing research in high energy physics and would like to implement a neural network to determine the best "kinematic cuts" to apply to particles before using those particles ...
0
votes
0
answers
8
views
Library for buffers <-> files operations in C++
Is there a commonly-used C++ library for the task of reading and writing entire buffers/contiguous containers from files? I mean, reading/writing raw binary data, nor formatted output.
Desired ...
1
vote
1
answer
411
views
Looking for an open-source C++ library which can fit a multivariate polynomial function to points in 3D space
I have been unsuccessfully looking for a C++ library that can approximate a polynomial function f(x,y) = z given a bunch of known points (x,y,z) in 3D space.
This is trivial to do using the fit ...
0
votes
0
answers
9
views
Tool for suggesting C++ precompiled headers
I am working on 5 legacy C++ code bases with ~1M lines of code each. Build times are about 30 minutes per project. The projects are already configured to use precompiled headers, but the pch.h file is ...
4
votes
2
answers
84
views
Open Source IDE for C/C++ on Ubuntu with native dark theme
I am using Pycharm community edition for my Python development, looking for something like this for C/C++. The basic requirements are
native support for dark theme like Dracula etc.
free and open ...
1
vote
0
answers
22
views
A C++ JSON library which accepts inputs with comments and multiline strings
I'm developing a program written in C++ for editing Minecraft datapacks. These datapacks can contain JSON files. Minecraft can parse JSON files with comments and strings spanning multiple lines.
For ...
3
votes
1
answer
40
views
Library to do 2D image manipulation
I'm looking for a 2D image manipulation library for C++, ideally something modern which uses C++20.
Requirements:
works on Windows 10 (support for Windows filenames, mainly)
works with Visual Studio ...
0
votes
1
answer
24
views
Linear equation solver under WSL-2
I need to solve a linear equation Ax = b with A a pentadiagonal matrix (lots of 0) whose dimension is very big (until n = 1000 billion).
I'm currently using the UMFPACK package from Suitesparse in C (...
1
vote
1
answer
43
views
Is there any C/C++ library for decimals that are small (<= 16 bytes) and statically allocated?
What i need is a C++ library (preferably C++, C will do as well) that implements any sort of decimal number - be they floating-point or not.
My requirements in terms of precision are rather humble - ...
1
vote
1
answer
22
views
looking for c++ library/tool for making a window and manipulating individual pixels through coordinates
I am trying to find a c++ library/tool that will let me make a window and change pixel colors (preferably just from black to white), using coordinates, I have been looking, but ended up just going in ...
1
vote
0
answers
112
views
Wanted: A C++ REST library for integration with JIRA
I'm seeking recommendations for C++ REST libraries to be able to create a set of tools that connects to JIRA. Perhaps there's even a library especially created for JIRA integrations?
Wishlist:
Good ...
1
vote
0
answers
10
views
low-level UI library that allows custom text selection mechanics
I need a GUI or TUI library for linux, that can be used from C, C++ or Python. The library shouldn't give me a repertoir of widgets, but instead allow me to build my own from scratch. I need a ...
0
votes
1
answer
300
views
What library/fitting algorithm for C++ do I need to fit an 1D function to experimental data?
I am programming a physics simulation (Ising model, if it matters) and I need to fit an 1D decaying exponential function to a set of data and have an estimation of the parameters of the function but ...
0
votes
2
answers
563
views
C or C++ library for putting pixel on the screen
For a fullfledge GUI I can use Qt or GTK. If I want OpenGL or Vulkan, GLFW will do. What is the most appropriate choice if all I want to do is
Open a window
Read image dimensions from stdin
Read ...
1
vote
0
answers
24
views
Seeking a lightweight C/C++ stats library that will do time series analysis and forecasting (ARIMA, etc)
Working here in an embedded Linux scenario. I'm wondering if someone could identify or point me to a C/C++ statistical library that does time series analysis (including ARMA and ARIMA, decomposition, ...
1
vote
1
answer
797
views
Need a recommendation on a C++ library for file encryption
What would be a recommended library to use for file encryption in C++?
I am looking for a standard up-to-date data encryption.
The file-encryption will be based on a password.
Searching the web I came ...
0
votes
1
answer
64
views
What is an example of a modern build and CD pipeline for C++?
Software Engineering common practices change over time.
What is an example (Linux-based) stack of a modern build & release pipeline for C++ with continuous integration and delivery.
As of 2022, ...
1
vote
0
answers
89
views
C++ 3D library to render GCode Files (Simple list of lines)
I'm looking for a simple 3D Library to render GCode Files into a C++/Qt5.15.2 software project running on Windows.
A GCode file contains the instructions for a 3D-Printer to print a 3D Model (where to ...
1
vote
1
answer
17
views
Simple "quick & dirty" stats for C++ containers/ranges
I'm looking for a small header-only library which takes a C++ container (or range, or iterator pair) with numbers, and gives you some basic stats about it: average, variation, kurtosis, standard ...