Questions tagged [c++]

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

Filter by
Sorted by
Tagged with
39
votes
8answers
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 ...
18
votes
4answers
13k 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 ...
18
votes
1answer
5k 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 ...
17
votes
4answers
9k 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 ...
12
votes
3answers
10k 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
2answers
2k 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
2answers
9k 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 (...
10
votes
1answer
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
3answers
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
4answers
4k 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
2answers
248 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 ...
8
votes
1answer
1k 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
2answers
9k 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
0answers
69 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
2answers
1k views

TCC (Tiny C Compiler) (or similar) for C++

I like TCC because its small, requires no installation, and can be called to compile any .c file into any .exe thru start arguments of tcc.exe So i basically need exactly that for C++ It should need ...
7
votes
3answers
15k 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
1answer
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
2answers
2k 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
3answers
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
2answers
610 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
1answer
119 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
1answer
629 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
1answer
140 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 ...
6
votes
1answer
172 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
1answer
1k 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
0answers
175 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
1answer
469 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
0answers
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
5answers
523 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 ...
5
votes
4answers
1k 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
2answers
185 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
2answers
2k 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
2answers
335 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 ...
5
votes
2answers
2k 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
2answers
722 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
2answers
839 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
2answers
80 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
1answer
331 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
0answers
709 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 ...
5
votes
0answers
58 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. ...
5
votes
0answers
242 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 ...
4
votes
3answers
980 views

Are there parsing tools like gcc-xml for C++11 code syntax?

I need to write simple tool that returns some simple analysis over existing c++ code. And so I'm looking for C++ parser, that would give me info about at least headers: list of user types, list ...
4
votes
3answers
194 views

IDE for c++/linux that detects questionable code

I am using emacs as my only programming editor. But recently I have been struggling for hours with problems that, at the end, turned out to be simple mistakes from my side. For instance, writing if(n ...
4
votes
2answers
58 views

Lightweight buildserver for C++ project

I'm developing some C++ projects. I have some SBCs (Raspberry Pi 3, Odroid n2) and I wanted to use one of them (odroid n2 is most powerful so it's the obvious choice) as a private buildserver. I ...
4
votes
1answer
9k views

Automated way to port Javascript to c++ [closed]

Is there any program which does this? I mean, V8 does this at runtime under the hood, but is there any way to output the c++ code? We need a javascript to c++ converter or translator.
4
votes
3answers
1k 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 ...
4
votes
1answer
3k views

C++ code documentation generation tool

I want to automatically generate HTML documents for C++ code and have used Doxygen in the past, but if I, for example, look at the NVIDIA CUDA documentation, there must be better tools ;-) Does ...
4
votes
1answer
6k 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 ...
4
votes
1answer
35 views

Software to determine cluster speed

I want to compare 2 clusters for single core performance. One cluster is based on Mac OS X and the other one is a centOS cluster. Is there a C/C++ code that I can compile on each and run and see how ...
4
votes
1answer
2k views

Extremely simple crossplatform opensource zip library c++

Suppose I've defined struct Data { std::string fileName; char* byteArray; size_t size; } I want to be able to write something like the following: std::vector<Data> ...

1
2 3 4 5
10