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.
255
questions
0
votes
1
answer
56
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
2
answers
434
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 ...
2
votes
0
answers
2k
views
Telnet library in C/ C++ Linux that can login to telnet server
Anyone aware of a telnet library written in c or c++ (Linux) that I can use to login with password to telnet server?
I got this option however it requires Boost, which I don't want to use.
I want to ...
0
votes
0
answers
15
views
Build automation of UNIX / Linux packages [closed]
Is there any simple build tool that could be used for build automation of multiple UNIX software packages for embedded world?
I know there is Buildroot & Yocto, but both of them build Linux ...
2
votes
1
answer
854
views
C compiler for 8086 or other 16-bit target
I'm looking for a C cross-compiler and emulator for a 16-bit processor that runs under Linux. I'd prefer for the target to be 8086 with FreeDOS or on Dosemu (then finding an emulator is not a problem)....
2
votes
0
answers
11
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 ...
2
votes
1
answer
114
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
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 ...
0
votes
1
answer
73
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
12
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 ...
2
votes
1
answer
353
views
C/C++ debug trace
I am looking for a gratis cross platform debug trace log system - which you have used for several years and can recommend from experience.
Must have
gratis, with a permissive license (e.g prefer ...
1
vote
1
answer
152
views
Recommendations for a million http requests
I have more than one million http requests to do, and I want to use a high performance programing language to do it. I coded it using PHP, but the result was too bad. I should make cUrl requests with ...
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 ...
0
votes
3
answers
164
views
Free C/C++ IDE & compiler to create command line Mysql access program
I just need to code a short command line program to run a SELECT and convert the result to CSV, so am open to any free IDE/Compiler solution for Windows 10.
I tried MS Visual Studio and the official ...
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 ...
1
vote
1
answer
135
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
...
2
votes
1
answer
1k
views
C/C++ open-source library to convert RTF to PDF
I need an open-source C/C++ library that would help me convert RTF document to PDF.
I have searched and the only two available solutions I have found so far are:
Librtf is a C-style library with no ...
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 ...
0
votes
0
answers
8
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
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. (...
4
votes
2
answers
1k
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(){...
2
votes
1
answer
485
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 problem ...
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 ...
0
votes
0
answers
25
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
28
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 ...
2
votes
1
answer
488
views
Libraries to work with Unicode in C?
I'm currently using char * for strings in my C program. I'd like to learn how to implement Unicode support and have been looking at utf8proc.
Is utf8proc the best general-purpose Unicode library for ...
0
votes
2
answers
42
views
Accelerated computing - which library to choose
I want to learn something about High Performance Computing as such and currently before me stands the topic of accelerated computing (like GPU computing).
I would like to ask you which technology is ...
1
vote
0
answers
40
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 ...
14
votes
4
answers
2k
views
Cross-platform C GUI
My friend and I are developing a C software, he's developing it on Windows, I'm contributing and I use Xubuntu. As far as I know, Qt supports C++ and not C, and as far as I know GTK sucks on Windows, ...
0
votes
1
answer
422
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
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 (...
3
votes
0
answers
385
views
Any good plotting library for massive data analysis in C/C++?
I use GNUPLOT and PGPLOT for plotting my data in C/C++. But these are ridiculously slow when the data size becomes huge. So I want a plotting library that can give me a fast response even if I plot a ...
5
votes
2
answers
115
views
Buffer overflow check for Boehm GC
I'm using Boehm GC and valgrind.
But it seems valgrind cannot detect overflow in GC_malloc'ed buffers.
Does anyone know any tools that can detect buffer overflow for Boehm GC?
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
51
views
Official C/C++ Package Manager?
I would like to know whether there is an officially-mandated or recognized C/C++ Package Manager.
0
votes
2
answers
780
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
34
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, ...
5
votes
3
answers
1k
views
FTGL alternative
I need to display TrueType fonts in OpenGL, in a C program. This needs to work on fairly old hardware, so something using the old fixed function pipeline rather than making heavy use of shaders would ...
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 (...
1
vote
1
answer
132
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
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 ...
6
votes
1
answer
581
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
0
answers
55
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
575
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 ...
7
votes
2
answers
4k
views
C and C++ portable IDE with up-to-date compiler
Right now I'm reinstalling Visual Studio on my workstation, and it's taking forever. Which reminds me I should have a backup environment available.
I'm looking for a portable Integrated Development ...
1
vote
1
answer
169
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 ...
1
vote
1
answer
204
views
What's the best IDE for C coding in Windows operation system?
I'm newbie to C programming and I'm trying to choose the best IDE for C coding in Windows.
Based on my researches these are the best ones:
Visual Studio
Qt Creator
Code::Blocks
Eclipse
NetBeans
So ...
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 ...
2
votes
2
answers
2k
views
Is there any way to compile & test win32 C/C++ code online and download executables?
Is there any way to compile&test a win32 c/c++ code online and download executables?
If there is, I would be able to develop windows applications even on phone.
Any links or helps are welcome!
I ...