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
2
votes
2answers
269 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
449 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 ...
2
votes
2answers
38 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
62 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
65 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
348 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
87 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
468 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
155 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
132 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
358 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
361 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
4k 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
424 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
642 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
668 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
404 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
196 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
458 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
885 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
465 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
100 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
75 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
297 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
104 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
133 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
60 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
510 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
572 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 ...
1
vote
0answers
27 views

GNU readline-like library also tracking program state

I need (want) some library for handling user input. I know GNU Readline can be user for this quite simply, but my issue is, that I want something that will track program state and manage transitions ...
3
votes
1answer
7k 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 ...
1
vote
0answers
44 views

Windows mingw graphical compiler

Is there a simple graphical(GUI) mingw compiler for windows that only lets us compile and return errors if any. I don't want a full-featured IDE I just need a compiler. If there is any plug in that ...
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 ...
1
vote
2answers
129 views

C code for evaluating static code analysis tools

So, I am switching back to C coding soon. I have previous experience of Gimpel Lint and Splint, but would like to check out a few others. Does anyone know of some C code which is specifically ...
1
vote
0answers
88 views

SDK for building custom ODBC driver

I want to implement my own custom ODBC driver to connect to hive data source. I have gone through Simba Engine SDK available for creating driver in java, c and C#. But it is licensed. Has anyone ...
2
votes
0answers
75 views

File delta encoding library for C?

I'm looking for a library that allows you to create a delta encoding of file changes whenever a file is changed within a directory. I'm trying to use this for a file synchronization app written in C. ...