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
9 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
32 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 ...
0 votes
0 answers
3 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, ...
0 votes
0 answers
25 views

Modbus RTU C/C++ opensource library

I'm looking for a C/C++ library to communicate with devices through Modbus-RTU. The libmodbus is available but it's under LGPL license and LGPL requires the library to be user replaceable. ...
  • 1
0 votes
0 answers
9 views

Library for Variational Mesh Decomposition

I need a mesh segmentation algorithm for my application. This paper seems to have a really good segmentation at decent performance on the GPU. Does anyone know of such libraries to perform this mesh ...
  • 101
1 vote
0 answers
16 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 (...
  • 11
1 vote
0 answers
51 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 ...
  • 11
1 vote
1 answer
54 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
54 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 ...
  • 13
0 votes
0 answers
13 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 ...
  • 101
0 votes
0 answers
12 views

C pre-preprocessing to enable module namespaces and keyword arguments

I need to write some C programs, however in general I find reading code written in this language considerably difficult. This is due to, I think, 2 factors: no module namespaces and no keyword ...
0 votes
0 answers
20 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. ...
  • 2,982
0 votes
0 answers
7 views

Tool validating not too many function args in C

I want to verify that all functions in my C source code (.c files) have no more than a certain amount of arguments (e.g. no more than 4 arguments). I am using Google's cpplint to verify code ...
  • 121
0 votes
1 answer
187 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 ...
  • 121
1 vote
0 answers
57 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 ...
0 votes
0 answers
19 views

Automatic generation of struct printing function in C

I have many programs where structs are defined. And each time, I have to create a function to print the members. For example, typedef struct { char name[128]; char address[1024]; int zip; ...
  • 101
0 votes
1 answer
51 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 ...
  • 101
0 votes
1 answer
19 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
1 vote
0 answers
62 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 ...
  • 11
1 vote
1 answer
58 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
16 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
14 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
39 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
24 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
42 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 ...
  • 113
0 votes
1 answer
16 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
12 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 ...
  • 113
0 votes
0 answers
16 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 ...
  • 101
2 votes
1 answer
116 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 ...
  • 131
1 vote
0 answers
99 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
38 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
95 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
286 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 ...
1 vote
0 answers
17 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
38 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
  • 121
1 vote
0 answers
13 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
13 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
12 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
17 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
17 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://...
  • 111
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
96 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
44 views

Official C/C++ Package Manager?

I would like to know whether there is an officially-mandated or recognized C/C++ Package Manager.
1 vote
0 answers
28 views

Numerical integration of multidimensional integral

I'm looking for software that allows one to numerically integrate multidimensional integrals, hopefully compatible or written in C. I've found an answer for one dimensional integrals here: https://...
1 vote
2 answers
112 views

IDE for C, windows

I would like to try a good ide for C. Please list your favorite ide for C not the one that is considered the best. Thank you for your help.
  • 25
0 votes
0 answers
10 views

Bitcoin programming on Raspberry Pi 4/Raspbian

I want to setup a full bitcoin node on a Raspberry Pi 4 with Raspbian and make my own local requests in C/C++ (no client connection to a remote node). What would be the best library to do that ? ...
2 votes
0 answers
28 views

Library for handling Abstract Syntax Trees efficiently

I'm looking for a C/C++ library for handling Abstract Syntax Trees that can be generated after recognizing a language in Antlr or yacc/bison. Given that in software or query optimization you need to ...
  • 121
0 votes
1 answer
113 views

Generator for folder / directory dependency graphs for C/C++ #includes

Requirements I would like to generate graphs where the dependencies between directories (defined by #include)* are drawn and sub-directories are recursively nested within directory nodes. Nesting ...
1 vote
3 answers
51 views

Could you recommend an IDE that is suitable for writing and running C, C++, C#?

Could you recommend an IDE that is suitable for writing and running C, C++, C# and works, can write code, run code out of the box on macos Catalina?

1
2 3 4 5