Questions tagged [c]

Use this tag if you're looking for a library or program written in C, or software that consumes or produces C source code.

Filter by
Sorted by
Tagged with
18
votes
4answers
11k 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 ...
17
votes
3answers
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 ...
14
votes
2answers
1k views

Cross-platform C GUI

My friend and I are developing a C software, he's developing it on Windows, I'm contributing and I use Xubuntu. As far as I know, Qt supports C++ and not C, and as far as I know GTK sucks on Windows, ...
11
votes
3answers
136 views

A C code beautifier that does *nothing* by default?

I'm fixing up a large, old, crufty project and want to introduce broad changes carefully, both because it will cause merge problems and because the old, crufty project contributors will get upset. At ...
10
votes
3answers
1k views

Find dead code in a C program by runtime analysis

I have a large application written in C + POSIX there are many functions which are never called inside it. However, due to the size of the code it is difficult to track them manually. Some people have ...
7
votes
4answers
616 views

Code clone detection software

I am looking for a simple tool that can identify similar parts in one or multiple files. I am working on a fairly old codebase where developers used to use copy paste a lot. Eventually we have ...
7
votes
2answers
8k 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) ...
7
votes
1answer
133 views

Is there a code analysis tool that can reduce my conditional branching?

I want to reduce the deep nested branching of this C code and I wonder if there is an analysis tool that can make a truth table for the conditions or if I must analyze it manually? I'd like to make ...
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
1answer
3k 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 ...
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
1answer
431 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 ...
5
votes
5answers
482 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
1answer
36 views

Good IDE for C language with code-simplification-suggestions?

I use IntelliJ Idea CE for Java and I like its features like it tells which of the declared parameters has never been used, simplification of code, auto-including libraries for methods selected from ...
5
votes
2answers
480 views

C99 unit testing framework compatible with Visual Studio 2015+

Is there a unit testing framework for "plain C", which can easily be integrated with the Visual Studio Test Explorer? Since I would like to introduce unit testing to our firmware/embedded team in a ...
5
votes
2answers
78 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
533 views

C# parser for parsing incomplete C code

Is there any C# parser which I could use to parse incomplete c source code. I'm trying to implement source code evolution anlysis tool of c code based on analyzing different versions of C code. So far ...
5
votes
0answers
650 views

Are there any Natural Language Processing (NLP) libraries in C?

Are there any NLP libraries/toolkits similar to NLTK or OpenNLP but in C? Note that I want something in pure C and not in C++.
5
votes
2answers
864 views

FTGL alternative

I need to display TrueType fonts in OpenGL, in a C program. This needs to work on fairly old hardware, so something using the old fixed function pipeline rather than making heavy use of shaders would ...
4
votes
1answer
63 views

C clean-up software

I was given a big chunk of uncommented code (around 3k lines) that I need to port to another platform. After quite some time going trough this mess I have an idea of what it does. During this time I ...
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
194 views

Implementation of RFC 6951 “Encapsulation of SCTP inside UDP” as a C library

Are there any open source libraries that implements RFC 6951, allowing applications to use SCTP even if it is not enabled in kernel or is blocked by NAT by encapsulating it in UDP?
4
votes
1answer
567 views

Small crypto library in C

What is the best C crypto library for small devices? My device is very limited in memory (only about 50 KB left). Also I do not need all of the fancy cryptography algorithms. An encryption, MAC ...
4
votes
1answer
81 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?
4
votes
1answer
220 views

Free C / C++ static analysis tool to detect integral promotion, overflow / truncation

For C / C++ projects (especially large ones), detecting all these errors can be very hard. More info can be found here. PC-Lint / FlexeLint software from Gimpel Software LLC can do this. Tested with ...
4
votes
0answers
1k views

A Dropbox-like open source WebDAV sync client for Windows, written in C/C++/C#

I'm looking for something like ownCloud Client - a background app which syncs local folder with remove WebDAV storage accompanied with a desktop tool which has Dropbox-like UI (such as an icon in ...
3
votes
2answers
85 views

Is there a lightweight IDE for C with nice visual design?

I am looking for an 'ideal' environment for writing and running simple C programs for beginners in programming. What I want is something that has an appealing design, like Sublime Text 3 or Visual ...
3
votes
4answers
200 views

Free C/C++ IDE for Windows supporting static libraries, with good documentation

I want to pick up C/C++ programming (after a gap of many years) for a project. I have 3 main objectives.... Be able to use some static libraries (so as to not re-invent the wheel) as part of the ...
3
votes
3answers
44 views

Software for handling graphs in Python or C/C++

I am looking for some package that handles graphs in python or C or C++. There are quite a few out there, as found in Google. But that is why I come here... Handling graphic representations and ...
3
votes
2answers
8k 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 ...
3
votes
2answers
93 views

Tool or library to copy OCRed text from a pdf to another

I have a pdf file OCRed probably with Adobe Professional and some additional edits that can't be reversed. I have an original pdf without OCRed or any other edits. I now want to incorporate the ...
3
votes
2answers
402 views

What are some C/C++ static analysis tools for finding dependencies in code?

I am looking for a tool that would analyze C/C++ code on windows and should be able capture reads and writes to variables by different functions. For example: //in file1.c extern int a; write_to_a(){...
3
votes
1answer
471 views

C library that can detect when eyes blink from a video

I m looking for a library of C algorithms which: can get an input video from a video camera can realize a software that can detect when eyes blink can be embedded to altium 3000 nanoboard is free or ...
3
votes
1answer
44 views

Library for finding minima of complex multidimensional functions in C or C++

I have a function in C or C++ which has multiple input and multiple output, functions behind are quite complex in its nature and highly non-linear. Now what I would like to do is to have an ...
3
votes
1answer
60 views

Android App for C Programming

I plan on using my android tablet and smartphone for my college course in C programming. The PC software is given by the school, however I would like to use my android devices as well for practice. ...
3
votes
1answer
63 views

GRATIS MISRA checker for C

Is there any gratis tool which checks C code for MISRA compliance? Standalone static code analysis if acceptable, any platform. A bonus would be an IDE, plugin (preferably Eclipse, but any gratis ...
3
votes
1answer
5k 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 ...
3
votes
1answer
893 views

C decompiler which is able to take advantage of debug symbols

I have a proprietary executable (no code source), and I’d like to confirm that a particular string is vulnerable to buffer overflows (security audit). But I need its algorithms for that. (I don’t ...
3
votes
3answers
248 views

Massive/automatic VHDL refactoring

Currently I'm linting our codebase. Some coding rules where defined at the beginning of the project, unfortunately not very much of them were used ;\ Is there an automatic way to refactor the code? ...
3
votes
1answer
167 views

Libraries to work with Unicode in C?

I'm currently using char * for strings in my C program. I'd like to learn how to implement Unicode support and have been looking at utf8proc. Is utf8proc the best general-purpose Unicode library for ...
3
votes
0answers
27 views

Detect union access errors in C

Let's say I have a variant type in C implemented as an annotated union: enum var_mode { TYPE_A, TYPE_B }; union var_data { int a; double b; }; struct var_type { enum var_mode ...
3
votes
0answers
952 views

Which is the best http client library based on either C or C++ in terms of performance during heavy parallel downloads?

Which is the best http client library based on either C or C++ in terms of performance during heavy parallel downloads? Currently I am looking for developing an C++ application using HTTP client ...
3
votes
1answer
105 views

Looking for optimization libraries to optimize a matrix

I need to solve the problem shown below, but I do not know what optimization libraries can solve this problem. The optimization target is a 3x3 matrix A and a 3D vector b, given the 3D vectors xi ...
3
votes
0answers
164 views

Open source implementation of C standard library for DOS

DOS operating systems are seeing a resurgence in the embedded market. My device uses ROM-DOS from Datalight with a NEC V30Mx processor, which provides the 80286 instruction set. ROM-DOS is roughly ...
3
votes
0answers
238 views

Generic RPC stub generator

I am looking for an RPC (Remote Procedure Call) stub generator that generates C code that allows me to call functions from one device (embedded) on a different device (PC) over some data link (USB or ...
3
votes
0answers
307 views

Any good plotting library for massive data analysis in C/C++?

I use GNUPLOT and PGPLOT for plotting my data in C/C++. But these are ridiculously slow when the data size becomes huge. So I want a plotting library that can give me a fast response even if I plot a ...
2
votes
2answers
1k views

API for creating/uncompressing zip files, ANSI C compatible and used in Windows applications

This is a first question on this StackExchange site, please let me know if my question is off-topic, and if so, which of the sites would be more appropriate. I am looking for an API that can be used ...
2
votes
6answers
58 views

IDE for C, Ubuntu

Looking for a recommendation for IDE. I'm learning to program in C, using Ubuntu. Is Eclipse good enough? or are there better IDE's for C?
2
votes
1answer
1k views

Performant but memory efficient C hash map

I'm looking for a performant but also memory efficient C hash map implementation (or whatever you want to call it). Performance is slightly more important than memory use. I would prefer a ...
2
votes
2answers
912 views

regex to code converter (code generator)

I need a code generator that transforms a regular expression in any notation into C or C++ code, that allows recognition and extraction of data from the input.