Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [c++]

Software related to the C++ programming language, including development environments, editors, compilers, analyzers, and libraries.

Filter by
Sorted by
Tagged with
1 vote
1 answer
28 views

Is there a secure string for storing passwords in C++?

From a security standpoint, it's better to zero out a password once it's no longer in use by a program. In other words, I'd like to have some kind of secure string instead of std::string that would ...
AvidCoder's user avatar
  • 131
0 votes
0 answers
3 views

Tool to generate C or C++ interface file given glsl source

Input (my_shader.vert.glsl): #version 330 core layout (location = 0) in vec3 aPos; void main() { gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0); } Desired output would be something like ...
user877329's user avatar
0 votes
0 answers
8 views

Instrumentation tool for Visual Studio C++ 2017

I have downloaded a CMake-based open-source C++ project. Then I converted that CMake project into a Visual Studio C++ 2017 solution/project. Now, among all the files, say, I am only interested in ...
user366312's user avatar
1 vote
0 answers
10 views

What library or framework can I use to parse C++ source code in .NET?

I need to parse C++ source code using C#. I tried CppAst.net. It seems that it can parse header files, but not source files. using CppAst; using System; using System.Collections.Generic; using System....
user366312's user avatar
1 vote
0 answers
12 views

Looking for ClangFormat assistant tools in customization of .clang-format options

I'm in the process of standing up a simple formatting pipeline, probably destined for ADO, for a particular product codebase, natural focus on rounding out as much as we can with ClangFormat. The ...
Pat's user avatar
  • 11
1 vote
0 answers
15 views

Framework for real time animation of industrial physics simulation

Sorry for the long post, but some context is needed to state the question. Also keep in mind that all of the current people on the team are mechanical engineers by profession and not software ...
ander's user avatar
  • 11
1 vote
0 answers
39 views

What are stable C++ frameworks or API handling HTTP and REST, and compatible with OpenApi?

I have to create a set of C++ Linux applications some being REST servers some being REST clients and I am at the stage of selecting good candidates frameworks for that. I will use C++ 20, or at ...
Marc Le Bihan's user avatar
2 votes
0 answers
18 views

Seeking a high-performance C++ library for finite-state automata

I am looking for a high-performance C++ library similar to Java's dk.brics.automaton for working with finite-state automata. The library should be open-source and preferably free to use. In addition ...
Yang Y's user avatar
  • 21
0 votes
0 answers
24 views

Code Editor for Android that supports a "jump to definition" feature

I want to browse a cpp project with 400+ files on my phone. The app in question must have a "jump to definition" feature, that works across project files. All the cpp/h files are in a single ...
Brambor's user avatar
  • 101
2 votes
0 answers
23 views

Fastest implementation of priority_queue in C++?

I stumbled upon custom implementations of hash tables, which are faster than std::unordered_map for say, int type. (For example ska::flat_hash_map) For my use case, I don't need to optimize memory, ...
ztart14578's user avatar
-1 votes
1 answer
96 views

What C++ code do I need to play an AVI on Windows XP?

I want this to be able to run on an old 32 bit laptop that is limited in ability. I am using Code::Blocks 17.12 (20 will not load). Command line answer or GUI answer; either is usable. There might be ...
Line Item's user avatar
0 votes
0 answers
14 views

Are there any popular C/C++ encryption libraries that support Rijndael-160?

I need an encryption library that supports Rijndael with 160-bit key and 128-bit block size. I can't find any libraries that explicitly mention the full flexibility of Rijndael or 160-bit keys; most ...
Chris_F's user avatar
  • 101
2 votes
1 answer
40 views

Offline C++ syntax highlighter

I am looking for a C++ syntax highlighter, i.e. an application that takes plain text input (C++ code, of course) and provides formatted code as output (HTML, RTF). Why do I need that? Yes, any IDE ...
Thomas Weller's user avatar
0 votes
0 answers
34 views

Looking for a simplest way to transfer binary data using C++ API between 2 Linux PCs connected directly with Ethernet cable

I have 2 Ubuntu 23.10 PCs connected directly with a crossover (or regular) Ethernet cable. Each of them have a static IP address set. ping command works as expected. I'm looking for a simple way to ...
Paul Jurczak's user avatar
0 votes
0 answers
14 views

Parse keyboard input to text (with text editor like functionality, like support for backspace, left/right arrow & text selection capabilities)

I'm looking for a simple library that can take: A key name (like "L", "Numpad 5" etc) A series of booleans describing whether Shift/Ctrl/Alt is held And outputs a string based on ...
Willy Wonka's user avatar
0 votes
0 answers
11 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 ...
Sourav Bansal's user avatar
1 vote
1 answer
24 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 ...
Krupip's user avatar
  • 121
1 vote
0 answers
17 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 { ...
sophistcxf's user avatar
2 votes
0 answers
118 views

Online C++ compiler, with an API, ability to download .exe

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 ...
N3N2N1's user avatar
  • 21
0 votes
0 answers
6 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 ...
pma07pg's user avatar
  • 101
0 votes
0 answers
9 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 ...
arost's user avatar
  • 1
0 votes
0 answers
50 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 ...
Paul Aner's user avatar
  • 101
0 votes
1 answer
39 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.
noname7619's user avatar
2 votes
1 answer
110 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 ...
Brownian_Motion's user avatar
0 votes
0 answers
7 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. ...
Alireza Rostami's user avatar
0 votes
0 answers
27 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 ...
Duloren's user avatar
  • 121
0 votes
0 answers
14 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 ...
yonutix's user avatar
  • 101
0 votes
0 answers
20 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 ...
Joymaker's user avatar
  • 101
0 votes
0 answers
11 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,...
Martin Clever's user avatar
0 votes
0 answers
75 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. ...
ardentMirage's user avatar
0 votes
0 answers
44 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 ...
rwallace's user avatar
  • 153
1 vote
1 answer
56 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 ...
Thomas Weller's user avatar
0 votes
1 answer
81 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 ...
Jiahao Zhao's user avatar
0 votes
0 answers
26 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 ...
rsp's user avatar
  • 101
0 votes
1 answer
29 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 ...
CPlus's user avatar
  • 121
0 votes
0 answers
52 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 ...
Ayush Yadav's user avatar
0 votes
1 answer
22 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 ...
Alexander Guyer's user avatar
1 vote
1 answer
1k 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: // ...
shuhalo's user avatar
  • 169
1 vote
0 answers
13 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 ...
einpoklum's user avatar
  • 3,249
1 vote
0 answers
48 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 ...
checkbord spy's user avatar
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 ...
convert's user avatar
2 votes
1 answer
54 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 ...
mangoman's user avatar
1 vote
1 answer
705 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 ...
Mike123's user avatar
  • 11
4 votes
2 answers
98 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 ...
Della's user avatar
  • 151
1 vote
0 answers
24 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 ...
IoeCmcomc's user avatar
  • 111
3 votes
1 answer
43 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 ...
Thomas Weller's user avatar
0 votes
1 answer
33 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 (...
Albert Schrödinberg's user avatar
1 vote
1 answer
50 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 - ...
biripa's user avatar
  • 11
1 vote
1 answer
27 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 ...
setanta's user avatar
  • 11
1 vote
0 answers
132 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 ...
Ted Lyngmo's user avatar

1
2 3 4 5
12