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.
254
questions
2
votes
0
answers
18
views
Simple C doc generator
I would like to use (find) a very simple C src code doc generator (parser). The simpler, the better.
I have looked at Doxygen (also cldoc, codedoc, cweb, Natural Docs) and found them too complicated ...
0
votes
0
answers
6
views
Seeking a Library or API for Oscilloscope Data Measurement with Python, C, or C++ Integration
I'm developing a simple oscilloscope using Python and Qt6.
For now I have completed the visual part (sine waves etc) and I was wondering if there is a library or API available for measuring ...
0
votes
0
answers
8
views
Arduino IDE: Is there an Alternative Interface for working with .ino sketches and binaries?
Recently, I learned that the Arduino IDE (or at least version 2), downloadable from the main Arduino CC site, is built using Electron and Node. That's a discovery about which I'm not at all happy. (...
0
votes
0
answers
41
views
C Library For Quickly Writing CLI Programs
I'm working on porting most of my PHP, Python, and Bash scripts over to C.
As a "beginner" with the C language I am overwhelmed with the documentation and all the memory management ...
0
votes
0
answers
21
views
Regex library for simple grep program in c
I would like to try to write simple grep program in c.
I am aware of the Ken Thompson version from 1968, where he himself implemented a regex compiler. However, I don't necessarily want to write my ...
0
votes
1
answer
26
views
Low level cross-platofrm C game API
I would like to code games, but the issue is, I only get the algorithms down. I have a hard time creating the user interfaces. I have used Metal for Mac, but this is non-portable. I have considered ...
0
votes
0
answers
16
views
Is there a Machine learning tool (like Weka, Orange) that will be able to export models and implement them in C/C++ code for edge computing?
I'm looking for Machine learning/AI tool, that would allow to work with data, train and compare various models and then have a possibility to deploy those models on embedded systems in C/C++ ...
0
votes
0
answers
12
views
Measure FPS of an arbitrary window
I would like to measure the refresh rate of an arbitrary window. I am not sure, if there is a generic way to do this, but on the other hand, some FPS measuring tools exist:
XBox Game Bar, however, ...
1
vote
0
answers
36
views
Is there a way to measure the energy consumption of a program along with its max. temperature?
I have a program written in C or Python that uses multithreading for parallelisation.
I was wondering if there was an open-source GNU program that could help me print out the total (and at regular ...
0
votes
1
answer
24
views
Linear equation solver under WSL-2
I need to solve a linear equation Ax = b with A a pentadiagonal matrix (lots of 0) whose dimension is very big (until n = 1000 billion).
I'm currently using the UMFPACK package from Suitesparse in C (...
0
votes
0
answers
15
views
function for language C which has same as sparse in Matlab
I want to assemble a lot of small local matrices into one global sparse matrix. And also after assembly process I need another functions for deleting some specific row and column at the global sparse ...
0
votes
1
answer
300
views
What library/fitting algorithm for C++ do I need to fit an 1D function to experimental data?
I am programming a physics simulation (Ising model, if it matters) and I need to fit an 1D decaying exponential function to a set of data and have an estimation of the parameters of the function but ...
0
votes
2
answers
563
views
C or C++ library for putting pixel on the screen
For a fullfledge GUI I can use Qt or GTK. If I want OpenGL or Vulkan, GLFW will do. What is the most appropriate choice if all I want to do is
Open a window
Read image dimensions from stdin
Read ...
1
vote
0
answers
24
views
Seeking a lightweight C/C++ stats library that will do time series analysis and forecasting (ARIMA, etc)
Working here in an embedded Linux scenario. I'm wondering if someone could identify or point me to a C/C++ statistical library that does time series analysis (including ARMA and ARIMA, decomposition, ...
1
vote
0
answers
21
views
Books On Compilation of C [closed]
Are there any good books that explain:
C to Assembly code mapping for x86, for example how a while loop is constructed, how stack frames are constructed, etc.
The bit layout of datatypes in C (...
2
votes
1
answer
78
views
Simple cross-platform window/input C library to render raw pixel arrays
I want to make my own render library in a primitive way without using OpenGL or something like that. But I don't want to mess with platform specific window/input management. So I need a library like ...
1
vote
1
answer
122
views
Extracting Text from PDF Docs into separate new filename Docs
I have a mass number of PDF files (>2k files) that look something similar to this
(Image of Sample PDF)
I have list indentations (A, B, C, D), followed by text. What I'm trying to achieve is to ...
-1
votes
1
answer
60
views
A programmign language for real-time 3D intensive graphics that doesn't use semicolons
I want something like the power of C/C++ but I hate semicolons.
Is there some language I can use that doesn't use them and is similar to performance to the C or C++ languages for a desktop app that ...
0
votes
0
answers
20
views
Code Validator for different programming languages
Does anybody know any validators for different programming languages? I'm trying to implement it to my web app and I'll need a code validator. I saw fbinfer for Java, C and C++ (but it's not supported ...
1
vote
0
answers
45
views
Unit testing framework/library for C
I'm looking for a unit testing framework or library for C code, with the framework/library itself written in C.
Required features:
Can be used on Unix-like operating systems, specifically GNU/Linux.
...
1
vote
1
answer
497
views
Free and Open Source C compilers for PIC10 family of Microchip microcontrollers?
I am looking for Free, Libre, and Open Source Software (FLOSS) C compiler(s) for the PIC10FXXX family of microcontrollers (MCU). What I have found so far:
Small Device C Compiler (SDCC): As reported ...
1
vote
0
answers
68
views
Can any libraries extract picture(s), if any, from an image of a page of text
I have jpeg images of pages of text, some of which have pictures within their layout. I don't care about OCR of the text, but I would like to be able to extract the pictures from the page image for ...
1
vote
1
answer
101
views
Any reliable raster library in C?
I'd like a minimal library that'll allow me to read/write/manipulate raster image formats, like BMP and PNG.
Written in C99 or C11 or otherwise portable.
Any recommendations?
Edit
I need to:
load bmp
...
0
votes
1
answer
49
views
Trying to find a simple ISS (Instruction Set Simulator) or any core for educational purpose in embedded systems
I want to start courses series on SoC virtualization using SystemC/TLM, I'm trying to find some easy ISS that I can integrate.
QEMU is a good example but it's too much for what I want, integrate it to ...
1
vote
0
answers
99
views
C++ library for peer to peer communication over internet for desktop application
I am looking for a C++ library for peer to peer communication over internet for a desktop application.
The library should contain the code for client machine and Signalling/Handshake server. It should ...
1
vote
1
answer
143
views
C linter for endif comments
I work on a code base in C that follows the common practice of annotating #else and #endif preprocessor directives with the condition. For example:
#if FOO
…
#if BAR
…
#endif /* BAR */
…
#endif /* FOO ...
0
votes
0
answers
20
views
Free and easy to use C/C++ static code analyser and memory debugger for absolute beginners on Windows
There are tools like Valgrind, which are available on Linux, Paid PVS Studio, but nothing I know or have used is easy to use. IDEs like VS Code come with support for debugging, but I specifically want ...
0
votes
0
answers
18
views
Recommended portable C solution under Windows
I would like to set-up the most appropriate C development environment under Windows, with the scope of having the least painful issues concering code portability to Linux.
In the past I have both used ...
0
votes
1
answer
59
views
C/C++ libraries for compression of 2D array of integers
I have two 2d array of integers. Basically these integers are pixel values of a FITS image. I would like apply leightweight lossless compression techniques like null suppression (SIMD-BP128) etc. on ...
0
votes
0
answers
91
views
Are there BLAS and LAPACK libraries that are written in C and do not need a FORTRAN compiler to build?
At the best source of documentation for BLAS, there is mention of "The netlib family and cousins." In that, there is a mention of BLAS++ and LAPACK++. However, both of those C++ libraries ...
1
vote
1
answer
54
views
Lossless data compression library with support for flushing, low-resource decompression, high density
I'm looking for a library (or algorithm) with public description and reference source code (in any language with a mainstream compiler targeting 32bit embedded CPUs like Cortex-M0), doing lossless ...
0
votes
1
answer
18
views
Editing the volume peaks of multiple audios at the same time
I have an English to Spanish audio dubbing job.
Where I have to take the volume peaks of the English audio and duplicate them in the correlative Spanish audio.
I would like to do it automatically ...
1
vote
0
answers
17
views
UI layout framework library
Is there a library (preferably C#, C, C++) that specifically deals with container layouts and resizing the components?
As in, it would provide an object that will automatically resize and layout ...
0
votes
0
answers
20
views
getting an 'include map' from a project file?
I am trying to understand a program in a Keil project. It has several source and header files for its functions but they are not directly included in main file. Instead header files include other ...
2
votes
1
answer
207
views
Is there any C compiler which defines both __STDC__ and __STDC_IEC_559__ to 1?
Is there any C compiler(s) which defines both __STDC__ and __STDC_IEC_559__ to 1?
If so, then which one(s)?
Reason of the question: as far as I can test (April 2021), none of the latest versions of ...
1
vote
0
answers
284
views
C keyboard library
I am looking for a means to register one or more buttons being pressed and/or held down on a keyboard in pure C (C90 or later), not C++/C#. Are there any libraries or methods to actively monitor ...
1
vote
1
answer
56
views
Sound output approach for Sine waves in C
I am looking for a means to play simple sine waves and other basic math functions in pure C, not C++/C#. Are there any libraries or methods to output actively to the sound card? Even more ideally to ...
2
votes
0
answers
156
views
Free FFT library for ARM CPU
I need a FFT library for ARM platforms, especially in Apple M1 and Androids. I have already browsed some, but none meets my requirement:
FFTS has stopped development, and its assembly code do not ...
1
vote
0
answers
344
views
libarchive is broken for RAR on Linux - any similar C library alternatives?
I'm using libarchive to read and scan through a generic set of archives (mostly 7z, RAR and zip).
The library interface is quite simple and although supports only linear archive processing, doesn't ...
2
votes
0
answers
21
views
Open Source or Freeware C code Metrics tool for Number of function Call Occurrences (Windows)
I am trying to find a metric "Number of function Call Occurrences" in Freeware tool.
Here is my expectation description:
"This metric specifies the number of function calls in the body ...
1
vote
0
answers
59
views
Gui library with support for user movable widgets
After hard work, I have managed to write a working "widget canvas" for GTK-3.0. The user is able to move native GtkWidgets by dragging them around, pretty much like MDI.
However, moving a ...
2
votes
0
answers
24
views
Software that visualizes makefile
I am looking for a tool that can visualize makefile build info:
relation & dependence diagram between build targets
compile options / link options / defines for each target
1
vote
0
answers
16
views
Software for counting operators and operands in C
Is there software that analyses c files and counts different operators and identifies operands? Anything specific for Halstead metrics?
I also just discovered the term parser and don't know if it has ...
1
vote
0
answers
19
views
Is there an arbitrary precision library in C or C++ with cdf?
I tried GNU Science library but its precision is limited to doubles. Other than implementing the thing myself, which I hope I wont have to do, is there a library that gets me the cumulative ...
1
vote
0
answers
16
views
Drone land survey path planning
I am working on a drone mission planner app similar to Pix4dcapture and Drone Harmony. Is there any Java/C/CPP library that helps in computing the lawnmower path of the drone given the vertices of the ...
1
vote
0
answers
90
views
Looking for an in-app in-memory filesystem in C/C++
I'm looking for an in-memory in-app filesystem that I can use as a library from a C program. Ideally should be POSIX compatible.
What I have found so far:
Zbox here is a possible solution for what I'...
1
vote
0
answers
24
views
Portable networking library written in C that is synchronous
I am looking for a library for a portable (abstract differences between various Operating Systems) networking (for doing network stuff like BSD sockets) that is synchronous.
I found this https://...
1
vote
0
answers
35
views
I need a clean, portable function or library to remove diacritics from a string in C
The answer here is outdated and not feasible. I need to do this for real.
For example:
RemoveDiacritics("áèfoo")
Output:
aefoo
It also needs to be open source so I can embed it directly ...
0
votes
2
answers
132
views
Are there any good IDE's for C, C# and C++?
I've just finished python and I'm heading towards the game development area.
I'm wanting to learn C#, and I need an IDE for it, albeit I also need a C IDE, for my projects.
Are there any IDE's that ...
0
votes
1
answer
48
views
Official C/C++ Package Manager?
I would like to know whether there is an officially-mandated or recognized C/C++ Package Manager.