Questions tagged [c++]
Software related to the C++ programming language, including development environments, editors, compilers, analyzers, and libraries.
560
questions
40
votes
8
answers
2k
views
C++ IDE for Windows with a rich feature set: Code completion, refactoring, etc
I'm looking for an Integrated Development Environment for C++ that should run on Windows 8. The program should ideally support the following features:
Code completion/hinting
Indentation assistance
...
21
votes
4
answers
18k
views
C/C++ library to parse SVG files?
I want to parse SVG files in C++ on OS X, and I need a library. It should be simple, lightweight and should not have many dependencies. My SVG files are also simple - they contain only simple shapes ...
20
votes
3
answers
12k
views
A modern(ish) C++ graph representation and manipulation library
At my old workplace I had mixed experience with Boost's graph library; I wasn't the person working with that code mostly, but we experienced brittleness, things changing under our feet, and a need to ...
18
votes
4
answers
10k
views
Parallel genetic algorithm library for C/C++
I am looking for a genetic algorithm library in C++ which can run in parallel, ideally scaling to a few hundred cores. As I understand it GAs are almost embarrassingly parallel, so I'm a little ...
13
votes
3
answers
19k
views
A robust and flexible alternative to doxygen supporting C++
I need to generate documentation for a C++ project of mine (and soon perhaps also for additional ones). So far I've looked into doxygen, and even though it seems popular, I've had some issues with it (...
12
votes
3
answers
11k
views
Linux C++ profiler
This is a easy one. I need to profile Linux C++ programs:
Must requirements:
free for non-commercial use
work with gcc (g++) compiled programs
work with x86-64 programs.
profile programs compiled ...
10
votes
2
answers
3k
views
C++ unit testing framework [closed]
I would like to hear what is a recommended C++ unit testing framework or, in case there is not a single one, what is a generally accepted flowchart that can lead me while picking one.
10
votes
1
answer
3k
views
Automate #include refactoring in C++
I have a big project with hundreds of files. And as it often happens to C++ projects, #include directives are messed up. I want to refactor them to increase clarity, decrease compilation time and ...
10
votes
2
answers
6k
views
TCC (Tiny C Compiler) (or similar) for C++
I like TCC because it's small, requires no installation, and can be called to compile any .c file into any .exe through start arguments of tcc.exe.
So I basically need exactly that for C++.
It should ...
10
votes
3
answers
2k
views
Free source code (C++/C#) of chess engine reusable in non-opensource program
I've tried to find some chess engine source which would be completely free for any use. But most of open source engines is under GPL license. At least LGPL would be nice. Ideally I would like some ...
9
votes
4
answers
5k
views
Library to convert between Base64 & hex for c++
I can find no sample code to convert a Base64 string to a hexadecimal string, both in the most readable format, such as
5c2e00405e56439da66a4bd279dbfba2d605d6949142ade664ce0fc4a7ceee
...
9
votes
2
answers
268
views
Static code analysis tool for multiplatform project with good coverage of C++11 features
I am an old school C++ developer and even today I have no professional C++11 experience. I trust the C++ committee that the language is moving in the right direction, but it seems that in the projects ...
9
votes
2
answers
13k
views
C/C++ ini file parser library
I'm trying to find a simple C/C++ library to parse ini configuration files.
It should:
have tests
be small (e.g. a .h file and a .cpp file)
be easy to use ("standard" ini file parsing is sufficient)
...
8
votes
1
answer
2k
views
C++ refactoring (renaming) tools for open source projects
The tool should be able to perform simple tasks like renaming a class or function. It should be usable by cross-platform open source projects, so that rules out anything Visual Studio based. However, ...
8
votes
0
answers
83
views
Static analysis tool that catches dangerous captures
In C++11, programmers are given control over how lambdas capture values: each value used in the lambda expression (other than the arguments to the lambda itself) is captured either by reference or by ...
7
votes
2
answers
2k
views
Is CodeBlocks still relevant or should I upgrade to a new lightweight IDE?
Just switched to Peppermint from Windows and I was wondering if there are better IDEs than CodeBlocks for a C++ programmer. I'm not saying that it sucks, but its old school vibes (and burning eye ...
7
votes
3
answers
31k
views
Generate UML class diagrams from C++ code
Does anyone know of a standalone software (or plugin for Visual Studio) that can generate UML class diagrams from C++ code?
7
votes
3
answers
22k
views
C/C++ library for solving nonlinear systems of equations
My system of equations is like this:
(x - a1)2 + (y - b1)2 = c1
(x - a2)2 + (y - b2)2 = c2
I know it is simple using matlab:
solve((x-a1)^2 + (y-b1)^2 - c1, (x-a2)^2 + (y-b2)^2 - c2)
But how to ...
7
votes
2
answers
4k
views
C and C++ portable IDE with up-to-date compiler
Right now I'm reinstalling Visual Studio on my workstation, and it's taking forever. Which reminds me I should have a backup environment available.
I'm looking for a portable Integrated Development ...
7
votes
1
answer
990
views
Are there free tools/setups for cached, distributed C++ compiling with CMake on Windows?
This problem touches too many topics outside of the CMake, C++, Windows world I am familiar with. I kind of hit a wall of way to many options to explore each one. Actually I am hoping for someone ...
7
votes
1
answer
170
views
C++ IDE with special features
I'm new to C++ and started using Visual Studio Express 2013 because it is often named as "the best" C/C++ IDE.
However as someone used to Java and Eclipse I do not like Visual Studio very much.
Here ...
7
votes
2
answers
3k
views
Simple C/C++ library for network graph manipulation
I'm currently working on a research project that makes use of proprietary software. I'm trying to replace the proprietary C libraries for graph representation. Doing this will make it easier to ...
6
votes
6
answers
663
views
Cross-platform IDE alternative to MS Visual Studio - other than Eclipse CDT
I program on Linux (CentOS), OS X and Windows, primarily in C and C++. I've used Eclipse CDT on CentOS, and it's decent, but I find I prefer Visual Studio.
The issues I have with Eclipse CDT are that ...
6
votes
3
answers
3k
views
Lighter alternatives to Visual C++ 2013?
My problem with Visual Studio is its huge space consumption, even for the Express edition, so I decided to leave Visual Studio.
Now I have the problem that I can't find good alternatives for Visual C++...
6
votes
2
answers
17k
views
Is there a lightweight library that can perform RSA-2048 encryption for an embedded application?
I'm looking for a C/C++ implementation of RSA with a 2048 bit key (preferably read from a file). My target is an embedded platform, so it comes with some odd restrictions. The hardware restricts us ...
6
votes
2
answers
2k
views
C++ code obfuscator
Are there programs available that can obfuscate C++ code, so it becomes very hard to read, but at the same time, the behavior of the compiled binary doesn't change, and there is none or negligible ...
6
votes
1
answer
124
views
Tool for grading programming assignments
I am teaching a class that requires students to hand in multiple programming assignments in c++. I have to read through the source and point out their mistakes, suggest improvements etc. The corrected ...
6
votes
1
answer
571
views
Cross-Platform 2D Graphics Renderer Library (Desktop & Mobile)
I am looking for an advanced (features) cross-platform drawing library. It needs to have high performance, but not really worrying about games as such. A big plus will be SVG support, writing is maybe ...
6
votes
1
answer
1k
views
Modern-C++ reflection library
I'm interested in using a reflection library with my code, without going into details, I'm interested in understand what's available out there, strengths and weaknesses etc.
So far I've noticed:
...
6
votes
2
answers
427
views
In-app triplestore like SQLite
Is there any open-source and cross-platform triplestore that could be integrated into a C++ application?
I’m not looking for servers (i.e. 4store or Soprano). The good example for relational ...
6
votes
1
answer
202
views
Which mocking frameworks allow zero changes to legacy code?
I am searching for a mocking framework for a large C++ project. I've tentatively chosen GoogleTest as the testing framework so I first looked at GoogleMocks. However, I then discovered TypeMock's ...
6
votes
1
answer
2k
views
Program to check C and/or C++ code style
I am searching for free Linux tool that can analyze C and C++ code of my program and return style improvement suggestions. I would like to check against coding standards like variable naming, ...
6
votes
0
answers
503
views
Tool for Automatic Removal of `using namespace`
Is there any tool to convert:
#include <iostream>
using namespace std;
using namespace foo;
using namespace bar;
namespace foo
{
int foo_value() { return 5; }
}
namespace bar
{
const ...
6
votes
0
answers
926
views
A C++ NURBS library with boolean operations that is not OpenCASCADE
I'm working on SolveSpace, a parametric CAD. I'm looking for something to replace its builtin NURBS library, which has become a limiting aspect for many improvements.
It must:
Not be OpenCASCADE;
Be ...
6
votes
0
answers
47
views
Tool to identify the sources of compile-time memory consumption
TLDR; What kind of tools are available in a Unix environment to help me identify where time and memory are being spent at compile-time?
I have a small C++ hobby project which contains no template ...
5
votes
4
answers
2k
views
C++11 thread pool implementation
I am looking for a thread pool implementation based on C++11 threading facilities. The library should be preferably headers only. License has to be BSD style or MIT style permissive kind of license, i....
5
votes
2
answers
325
views
What GUI Library Should I use in C++
What GUI library should I use for making C++ GUI applications? What are some recommendations for a cross-platform compatible library? I have heard of GTK+, wxWidgets, and have used Qt, which I found ...
5
votes
2
answers
4k
views
Simple C++ 2D rendering engine
I need to brush up on my C++ for a course I am teaching in the fall, I want to have fun doing it and have an idea for a simple 2D game, however I don't want to have to worry about any of the rendering ...
5
votes
3
answers
4k
views
Header-based C++ logging library
I need a software recommendation for a C++ logging library that:
is header only (so no need to install separately)
is cross-platform (Mac/Linux/Windows)
is easy to use
can log to file but also output ...
5
votes
3
answers
2k
views
C++ Units Conversion Library
I am looking for a library that can handle unit conversions. I came across boost::units and unitscpp, however they only seem to cover simple units -- like length and mass. And they also do not seem to ...
5
votes
2
answers
863
views
Microsoft C++ Code Coverage software
I have an .exe file which loads a .dll file dynamically. The .dll file is passed as an argument to the program. Can I get code coverage of the .dll file using any coverage tools? What tools can I use ...
5
votes
2
answers
1k
views
Geometry library for C++
Is there a simple geometry library for C++?
Just classes for points and lines, and the most basic and common functions such as getting the line length via Pythagorean theorem, calculating the ...
5
votes
1
answer
11k
views
GUI for LLDB (preferably most resembling xcode)
I'm migrating from OSX to linux and one of the things I got used to developing c++ command line applications in Xcode is its superior debugger.
As LLDB is available under linux I wonder which GUI for ...
5
votes
2
answers
98
views
Extracting function-definitions from souce-code
i have a big workspace containing a lot of source-files (*.cpp, *.c, *.h, *.hpp etc.) and want to do some automated analysis to it.
I already have a coverage-analysis using the cobertura-format which ...
5
votes
1
answer
527
views
Motion correction (image stabilization) softwares/libraries
I have fluorescence recording from population of neurons sample video on youtube. The problem is that camera had vibrations making each frame shifts a little in x-y direction. Additionally recording ...
5
votes
3
answers
1k
views
C++ constexpr math (header-only) library
I'd like to utilize C++14's constexpr semantics expansion to calculate some mathematical formulae at compile time. But - I don't want to "roll my own" constexpr versions of sqrt(), log(), ...
5
votes
2
answers
114
views
Buffer overflow check for Boehm GC
I'm using Boehm GC and valgrind.
But it seems valgrind cannot detect overflow in GC_malloc'ed buffers.
Does anyone know any tools that can detect buffer overflow for Boehm GC?
5
votes
0
answers
22
views
Where to get specific Visual Studio older versions? [closed]
I am reverse-engineering a piece of software. I have identified the compiler used as Microsoft Visual C/C++(2003), Microsoft Linker(7.10)[EXE32] - That is Visual Studio .NET 2003 version 7.1 .
I ...
5
votes
0
answers
70
views
Lightweight Python IDE for ML
I run Debian 9 with 2GB of RAM. I primarily use the machine to access AWS for training models. I use jupyter notebooks to prototype and atom to finalize models.But, Atom is a resource hogging text ...
5
votes
0
answers
62
views
Translating new C++ to old C++
C++11 and C++14 introduce a lot of new features that make programmers' lives easier. However, in various environments (e.g. CUDA), support for the most modern C++ features may be weak or nonexistent.
...