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
0
votes
1answer
54 views

C compiler for Android apps on Linux (with examples and emulator)

I would like to make some simple 2D single player games (with no need for fancy graphics) for Android devices. I am not looking for a full blown IDE, but just for a compiler that works under Linux ...
2
votes
2answers
944 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.
2
votes
2answers
8k views

C++ open source library for curve fitting

I'm searching for the most minimalist C++ open source library that allows to obtain a curve parameters (e.g. Bezier) given a set of points. In my application the user gets some strokes by drawing on ...
1
vote
1answer
476 views

C Server Side ssh library

I need to use some kind of ssh library that has server side implementation for my embedded system The solution should comply to the following requirements: The ability to have some callback ...
1
vote
2answers
44 views

Is there a tool to resolve all the included header files based on compiler options?

I am looking into a big C project. The header file include are conditioned on a bunch of macro definitions. It's rather tedious to manually go through them. I am wondering if there's a tool that can ...
1
vote
0answers
31 views

Software to compare code runs

To give a little context, I am testing a function (written in C) with the same input every time. In some runs it gives a result, and in others in gives a completely different one. Debugging is not a ...
1
vote
0answers
334 views

Looking for an embeddable (C / C++ for Linux) HTTP client & server library with range seek and chunked response support

I'm trying to implement an application with HTTP client for receiving audio stream (mp3, chunked, with byte range seek) and serving it as a SHOUTcast compatible stream. Do you know any good library ...
2
votes
2answers
296 views

C or C++ string formatting library for embedded(!) development

Using C++ std:: we can format strings like this: cout << "The x=" << x << endl; In C# and Java we can build strings like: var sb = new StringBuilder(1000); sb.Append("The x="); ...
5
votes
2answers
486 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 ...
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
1answer
64 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 ...
0
votes
1answer
69 views

'abstract' slab/arena memory management/allocation library

I'm interested in a library for managing allocation and de-allocation of memory within an abstract slab. That is, a library which doesn't use malloc()/operator new/sbrk, but initially gets a ...
0
votes
0answers
382 views

C/C++ Library for ELF loading

I am looking for a C or C++ library for parsing and loading (i.e. performing relocations) on ELF files. This is for an embedded project and ideally I'd like it to support multiple CPU platforms, i.e. ...
0
votes
0answers
95 views

Where to find a minimalistic but fully compatible DLNA audio media renderer implementation or XML device description?

I'm working on an embedded Linux C/C++ project for capturing audio streams from various DLNA media senders and using the data for LED visualization effects. I have looked at multiple UPNP and DLNA ...
1
vote
0answers
68 views

Looking for C++ HTTP Server Lib with chunked encoding handling

Do you know any C++/C library for implementing HTTP server that has possibility of "overloading" chunked data handler, i.e. I'd like to have access to chunked data after each chunk. I need ...
1
vote
1answer
28 views

Heap library for Python on PyPI

The builtin heapq library in Python only supports min-heaps and is implemented in pure python, which makes it quite slow. Is there a decent heap library the supports both min-heaps and max-heaps and ...
5
votes
5answers
486 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 ...
2
votes
1answer
167 views

Removing optional braces in code

Is there any tool available that will strip optional braces from code written in curly-brace programming languages? Without starting a flame war, I'd like to follow the K&R style, where braces ...
7
votes
1answer
134 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 ...
2
votes
1answer
377 views

Library to Solve a large sparse linear equation system $Ax=b$ (almost banded matrix)

I'm looking for a tool or library implementing a fast algorithm in C or JAVA for solving the equation $Ax=b$, where $A$ is a $N*N$ sparse matrix with $5$ non-zero diagonals $(-N,-1,0,1,N)$. my ...
0
votes
1answer
79 views

Get the function for a specific line in a C source file [closed]

Is there some tool which I could use to find out the function name to which a specified source line number belongs? Example file: static enum foo bar(int c) { if (c < 30) return B1; ...
2
votes
1answer
197 views

Looking for audio processing library

I write a program for the development of musical abilities. It is based on the real-time(low latency) sound processing. It must be cross-platform and ready for porting to a microcontroller. I use ...
3
votes
2answers
411 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
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 ...
2
votes
0answers
60 views

C library for images

Is there a library for reading/writing images that supports common raster graphics formats like JPG, PNG, and BMP? I want it to decode common sound formats into a simple stream loaded into memory. ...
2
votes
0answers
425 views

Open source video-conference Skype-Like

I am looking for an open-source video-conference Skype-Like software for Linux Mint 17. the main feature it should have is an end-to-end connection, without having NAT, so a low-level encryption. it ...
5
votes
0answers
656 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++.
1
vote
1answer
718 views

Compiler, assembler and IDE on Ubuntu on ARM

I am new to ARM world. I have written a program involving a C function and also some assembly code. I cross compiled it on my x86 based system (Ubuntu) using g++-arch-linux-gnu. Now I have gotten my ...
6
votes
1answer
435 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 ...
1
vote
0answers
62 views

LCD menu creation library

I have to create a C application for some embedded system with Linux which is to create and control menu on the device's LCD. Is ncurses library suitable for my needs? If no, are there another (free ...
1
vote
1answer
204 views

Ultra-lightweight editor (like Python's IDLE) for C

One thing I don't like about C is how so many IDEs put things between me and my code. They force me to make solutions when all I want is a simple .c file, and they have cluttered displays when all 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 ...
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 ...
2
votes
1answer
543 views

Looking for a Go to C compiler for Linux

Can someone point out a Go to C compiler to me, or does indeed none exist? A lengthy web search turned up nothing for me. In particular, I am looking for an open source Go-to-C compiler that can be ...
3
votes
1answer
895 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
1answer
473 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 ...
2
votes
0answers
63 views

A C++ library for configurable pretty-printing/dumping of large arrays?

I am looking for a library - or a piece-of-a-library - for printing the contents of arrays of elements of simple types to an output stream. Its basic use is debugging code which processes very large ...
3
votes
1answer
106 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 ...
0
votes
2answers
66 views

Mature and robust open source C library for audio file conversion

I'm looking for mature and robust open source C library for audio file conversion. It should be C because I really program in Haskell and it's easier to write bindings for C (unless decent bindings ...
2
votes
0answers
80 views

Parameter value coverage for C++

I am strengthening my Jenkins build process and adding a few more checks. I just stumbled across Parameter value coverage, which alas only handles C# code. Is there anything similar for C / C++ ? ...
1
vote
0answers
315 views

Seeking Jenkins plugins for C/C++ code

I want to have as much information as I can from builds, especially with trend lines. Currently I am using the following Jenkins plug-ins: compiler warnings CppCheck for Linting xUnit for Google ...
2
votes
2answers
117 views

Utility to strip parts of C header based on defines

NB! This is not a preprocessor and cpp -E does not create a good result. Looking for a small command line utility, which strips conditionally compiled parts of header files, based on parameters (CLI-...
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 ...
1
vote
0answers
21 views

Is there any task-based lib like TBB in C?

Intel TBB is in C++. Does there exist any similar tool in C? Although Cilk++ and OpenMP work in C, I think they need either syntax extension or some special support from compilers? Is there any pure ...
1
vote
2answers
51 views

Find calls to typed functions which do not check the return value

I want a tool to parse C / C++ (others welcome, particularly PHP, but C / C++ == priority) and find calls to typed functions which do not check the return value. I don't see a g++ option (does MS ...
2
votes
0answers
62 views

Very simple ordered set (or pack) implementation in C

I am looking for a simple ordered set library (function, code sample) in C (NOT in C++). It should be based on some balanced tree or similar O(log(n))-based algorithm, hashes aren't okay. The ...
4
votes
1answer
585 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 ...
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 ...
1
vote
0answers
19 views

Parallelized compression libraries with API

I have written a C application which uses libbzip2 to compress and extract some statistical data. The extraction times are excessive for large-scale datasets. Therefore, I am looking for C or C++ ...
7
votes
4answers
632 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 ...