Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 answers
3 views

Tool to generate C or C++ interface file given glsl source

Input (my_shader.vert.glsl): #version 330 core layout (location = 0) in vec3 aPos; void main() { gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0); } Desired output would be something like ...
user877329's user avatar
1 vote
0 answers
12 views

Looking for ClangFormat assistant tools in customization of .clang-format options

I'm in the process of standing up a simple formatting pipeline, probably destined for ADO, for a particular product codebase, natural focus on rounding out as much as we can with ClangFormat. The ...
Pat's user avatar
  • 11
2 votes
0 answers
14 views

Cross platform vector interface in C

C does not have built-in vector types, but many common compilers and processors have their own vector intrinsics. MacOS has a built-in SIMD library which simply creates typedef vector types to GCC ...
CPlus's user avatar
  • 121
0 votes
1 answer
22 views

How to apply coding standards to a project automatically?

I have a large project. The project has many non-conforming lines according to coding standard that I used. Is there a tool, AI or anything that can make the process faster than doing by hand. I am ...
elections 12's user avatar
0 votes
0 answers
14 views

Are there any popular C/C++ encryption libraries that support Rijndael-160?

I need an encryption library that supports Rijndael with 160-bit key and 128-bit block size. I can't find any libraries that explicitly mention the full flexibility of Rijndael or 160-bit keys; most ...
Chris_F's user avatar
  • 101
2 votes
0 answers
40 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 ...
jwzumwalt's user avatar
  • 121
0 votes
0 answers
9 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 ...
arost's user avatar
  • 1
0 votes
0 answers
12 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. (...
Agi Hammerthief's user avatar
0 votes
0 answers
52 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 ...
user avatar
0 votes
0 answers
26 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 ...
400 the Cat's user avatar
0 votes
1 answer
29 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 ...
CPlus's user avatar
  • 121
1 vote
0 answers
41 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 ...
Stella's user avatar
  • 11
0 votes
1 answer
33 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 (...
Albert Schrödinberg's user avatar
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 ...
Song's user avatar
  • 1
0 votes
1 answer
460 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 ...
Astrovillarxhs's user avatar
0 votes
2 answers
886 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 ...
user877329's user avatar
1 vote
0 answers
36 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, ...
DaveFer's user avatar
  • 11
1 vote
0 answers
22 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 (...
Vexea's user avatar
  • 11
2 votes
1 answer
81 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 ...
lotr's user avatar
  • 21
1 vote
1 answer
133 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 ...
Hassan's user avatar
  • 13
-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 ...
fegax's user avatar
  • 13
0 votes
0 answers
30 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 ...
Gryva's user avatar
  • 101
1 vote
0 answers
58 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. ...
einpoklum's user avatar
  • 3,249
1 vote
1 answer
589 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 ...
Foad's user avatar
  • 131
1 vote
0 answers
71 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 ...
headbanger's user avatar
1 vote
1 answer
139 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 ...
vesperto's user avatar
  • 111
0 votes
1 answer
57 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 ...
DzDev's user avatar
  • 1
1 vote
0 answers
116 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 ...
techno's user avatar
  • 11
1 vote
1 answer
182 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 ...
Gilles 'SO- stop being evil''s user avatar
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 ...
lousycoder's user avatar
0 votes
0 answers
19 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 ...
Ginger Opariti's user avatar
0 votes
1 answer
75 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 ...
Apoorva Manjunath's user avatar
0 votes
0 answers
130 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 ...
GeneralCode's user avatar
1 vote
1 answer
60 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 ...
fgrieu's user avatar
  • 113
0 votes
1 answer
19 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 ...
Paulo Puleo's user avatar
1 vote
0 answers
20 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 ...
Water's user avatar
  • 113
0 votes
0 answers
26 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 ...
Mridul's user avatar
  • 101
2 votes
1 answer
247 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 ...
pmor's user avatar
  • 165
1 vote
0 answers
340 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 ...
syn_synth's user avatar
1 vote
1 answer
110 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 ...
syn_synth's user avatar
3 votes
0 answers
210 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 ...
jiandingzhe's user avatar
1 vote
0 answers
368 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 ...
Emanuele's user avatar
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 ...
user70935's user avatar
1 vote
0 answers
71 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 ...
user877329's user avatar
2 votes
0 answers
25 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
JustWe's user avatar
  • 121
1 vote
0 answers
19 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 ...
Dots's user avatar
  • 11
1 vote
0 answers
23 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 ...
ReverseFlowControl's user avatar
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 ...
Divyanshu Pundir's user avatar
1 vote
0 answers
138 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'...
Anastasios Andronidis's user avatar
1 vote
0 answers
27 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://...
amirouche's user avatar
  • 111

1
2 3 4 5 6