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
-1
votes
0answers
8 views

I don't understand firmware work TDC GP30 [on hold]

I am program written for STM32f103 microcontroller for interfacing with a Time to Digital Converter TDC GP30 via SPI interface.I succeeded in disabling/enabling Watchdog.but i can not to read tof and ...
0
votes
0answers
5 views

Where can I find a C library for Linux that implements C11 annex K?

I'm looking for a C library for Linux that implements the optional C11 Annex K bounds-checking interface. It should: Provide commonly-used *_s interfaces included in the standard. Actively and ...
-4
votes
0answers
7 views

How to Output from one one C program as Input for another? [on hold]

I am doing an assignment where I have to write two separate programs, one that creates files with information and then another that uses the created files to run a game for users. Any suggestions on ...
-1
votes
0answers
7 views

C/C++ code to handle async HTTP requests in apache [on hold]

I am new to apache. The documentation about using C-modules is pretty straightforward. The registration signature is: static int my_handler(request_rec *r) { if (strcmp(r->handler, "my_handler"...
0
votes
0answers
4 views

Creating a file descriptor which can be used for monitoring (i.e. like sockets) for I2C [on hold]

I am using I2C to communicate with one of my devices. This consists of opening an I2C buss (i.e. open(I2C_FILE, O_RDWR), setting ioctl to initiate bus communication (i.e. ioctl(fd, I2C_SLAVE, address) ...
0
votes
0answers
95 views

Solve small quadratic programming problem with inequality constraints in Java or C/C++

I need to solve a quadratic programming problem. The problem is small, 4 variables and 8 constraints, and has inequality constraints but not equality constraints. I am looking for a library in Java or ...
0
votes
0answers
8 views

Tool for features/metrics extraction from program dependency graph of C code

I am working on code clone detection. For this purpose I made program dependency graphs of C code using a tool named frama-c. Now I have to extract features/metrics from these program dependency ...
1
vote
0answers
26 views

Tool for extracting metrics from C source code

Does any open source tool exist that can extract metrics from original C code? Metrics like no. of LOC no. of assignments no. of selection statements no. of iteration statements no. of switch ...
-1
votes
0answers
11 views

How to calculate metrics from C code [closed]

How we can calculate metrics/features from simple C code, or is there any tool/plugin exists that can calculate metrics from c code? Metrics like e.g., No. of LOC = 15 No. of switch statements = 0 ...
0
votes
0answers
10 views

Tool for feature/metrics extraction from program dependency graph of C code [duplicate]

I am a PG student and doing my research on code clone detection . For this purpose I made program dependency graphs of C code using a tool named frama-c. Now I have to extract features/metrics from ...
0
votes
0answers
7 views

Calculate bandwidth usage by IP in Linux

I would like to monitorize the network calculating the consumption by IP connection in a specific interface in real time. Is there any Python or C library to do this? I think the best option would be ...
-1
votes
0answers
9 views

No usb keyboard power in my own Linux kernel from scratch on BeagleBone Black. How to fix? [closed]

I built uboot and linux kernel for beaglebone black. I have logitech k120 for business usb keyboard. In menuconfig of kernel i selected logitech keyboard driver, usb driver, usb keyboard driver. In ...
-1
votes
0answers
8 views

Is gcc 5.3.0 and gcc 5.3.1 the same? Sources for gcc5.3.1? [closed]

I am looking for a source of gcc 5.3.1 on Windows 10 (64bit) I have found gcc 5.3.0 on the internet but failed to find 5.3.1 Is 5.3.0.1 the same as 5.3.1?
1
vote
0answers
4 views

MSRP source code

I am looking for message session relay protocol(MSRP) source code or library in C/C++. Can anyone suggest me the source code.
0
votes
1answer
15 views

Alternate Software recommendation for minicom

To connect with the device boards like- Switch, Ap, etc. previously I used minicom 2.7 in my previous laptop having ubuntu16.04. there I can perform read and write both operations. But recently I buy ...
0
votes
0answers
14 views

Parser and Lex recommendations for C like language

Like mentioned I'm looking for a parser (and lex) for a c like language. However, there are some restrictions: I would prefer if the code or the development environment will be handled in c or c++. ...
1
vote
1answer
22 views

Re-Starting Coding - Need a platform recommendation

I am a semi-retired real-time developer (1979 - 2012) conversant with old languages such as C/C++. I am re-entering the market to develop an application dealing with the display of simple graphic ...
2
votes
2answers
37 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 ...
0
votes
0answers
11 views

Code Coverage tool for C/C++

I am looking for code coverage tool for c and cpp code for Linux. Please recommend free or open source tool that can provide report stating total percentage of code covered by the unit tests. I will ...
0
votes
0answers
9 views

Comprehensive and simple CD/CI environment/tools for C/C++/C#

So today I come to the experts to inquire about how/what I can use to setup a simple to manage CI/CD system for C/C++/C#. Currently development is carried out on Windows, so that would require running ...
1
vote
1answer
21 views

X11 Based Tools for Embedded Linux ARM Development

I'm looking for X11 capable software development tools which can be used for embedded Linux development directly on the target ARM hardware. Desired target languages and architectures include: ...
2
votes
1answer
60 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 ...
0
votes
0answers
9 views

Debug trace library

Must have I am looking for a gratis, stable, well documented, debug trace library for C/C++, which must be free for commercial use. The recommended software must be simple to configure and use. ...
0
votes
0answers
11 views

Power Cable Management

What software should I program this in? I have no idea where to go. Java, C++, html ???? This is just a side project to help wire management... I have an IT closet with (25) plugs coming from (4) ...
1
vote
1answer
22 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 ...
0
votes
0answers
5 views

Proper graphics development package Windows

I have been getting into writing graphics packages, and would like some ideas on development libraries. I prefer to use Code::Blocks, but can setup an Eclipse environment if need be. Most of the ...
0
votes
0answers
7 views

Analyze C code and return the contents of all the functions

I am not sure if a software for this exists or not. But I want a tool which looks at C code and returns a data structure like a hashmap, where the key is the name of the function and the value is the ...
0
votes
0answers
34 views

Socket library for DOS

I need a small socket library for DOS. I have less memory so I can't use dsock library. If dsock source code is available, please send me the link. Or suggest me the another library.
0
votes
0answers
7 views

C language refactoring tool

I am looking for a software capable to refactor C code to make it more robust. In particular, tool must support detecting comparison against constants, such as numbers, macros or typedef enums. For ...
1
vote
0answers
7 views

Is it an ok practice to keep pointers dereferenced? [closed]

For me, I prefer having all my variables, not as pointers. Is it ok to keep all heap-allocated variables dereferenced? For example: #include "Foo.hpp" #include "Bar.hpp" class Foo { private: Bar* ...
0
votes
0answers
12 views

Where can I find a working implementation of ctr-drbg for javascript?

I'm trying to use ctr-drbg (based on NIST 800-90A) for some work in nodejs, but the only drbg implementation that I could find is here, where you can see that ctr-drbg is proven to not work. From ...
0
votes
3answers
75 views

Web assembly data type conversion library

While I am very excited about the concept of WebAssembly and being able to code for the browser in C, I am disappointed that it only supports simple numeric data types. For instance, see the answer ...
1
vote
0answers
8 views

What is a substitute for cilly C source file merger tool?

Cilly merger has been around for a while now. However, it fails to merge C++ code or even some C source files. Is there an open-source tool that has been developed with the same functionality?
1
vote
0answers
16 views

Static code Analysis tool for C Source Code with MISRA Compliance to embed within C# Project

I have a Console Application written in C#. Here, I should embed a Static Code Analyser tool within C# Console Application which should analyse C Code.(here, .c and .h file(s) will be given as input ...
0
votes
1answer
13 views

SOAP/WSDL Web Services in C and C++

I have to develop a SOAP based web service that use WSDL to describe his functionality. I'm a C/C++ programmer and I'm aware of the existence of SOAP implementations like: Apache Axis e Axis2/C but ...
1
vote
0answers
69 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 OS. Based on my researches these are the best ones: Visual Studio Qt creator Code Block Eclipse Netbean ...
0
votes
1answer
2k views

C++ to Matlab online converter

I'm asked to write a small project in Matlab. I don't know Matlab and I don't want to learn it and I'm on Linux. Is there a free online C++ (or python) converter to Matlab? It's a small project but ...
1
vote
0answers
89 views

Gratis WebAssembly IDE

I realize that WebAssembly is in its infancy still, but , as I normally code embedded C (and, occasionally, C++) for a living, I would like to get started. It will be very interesting for me ...
0
votes
0answers
9 views

Detecting vulnerabilities in JNI systems

I'm looking for a tool that is able to detect vulnerabilities in JNI (Java native interface) systems (systems are written with C(++) and Java?) IS there any tool that can analyze and extract the ...
1
vote
0answers
7 views

I need a good open source and still maintained C/C++ library that can Read/Write (process) .docx and .xlsx files

As the title says, and sine I am a C++ developer (and mainly using wxWidgets as a toolkit) my purpose for it is to provide an editable reporting application. I will give the users a sample templates ...
1
vote
1answer
285 views

C/C++ open source library to convert RTF to PDF

I need open-source C/C++ library that would help me convert RTF document to PDF. I have searched a lot and the only two available solutions I have found so far are Librtf is a C-style library with no ...
1
vote
0answers
39 views

is there any good implementation to the RSA in arduino ? c language

I need a good implementation to the RSA algorithm that works on Arduino Mega with key size 1024. The code will run on Arduino IDE. The project idea simply is that an Android app sends an encrypted ...
1
vote
1answer
43 views

Is there any way to compile&test a 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! ...
1
vote
1answer
8 views

Looking for a library to import c data structures into python

I'm working on a python library to parse some logs that are coming back off of a connected device. There are already a huge amount of c header files that include the structure of the logs. I want to ...
0
votes
1answer
519 views

Compiler for AMD CPUs : C, C++, fortran and BLAS/LAPACK

I have been using Intel CPUs with Parallel Studio which bundles icc, icpc and ifort (compiler for C,C++ and Fortran) which are optimized for Intel. Moreover MKL (Math Kernel Library) with BLAS and ...
0
votes
0answers
13 views

Is there something along the lines of a LLVM Cache, and if not why?

When using gcc for a c-compiler, the program called ccache allows for people to shorten compile times by cashing partially compiled C code. However, this only caches code from C-based languages, and ...
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 ...
1
vote
1answer
68 views

C/C++ Static Analysis - Tool to show header used in statement or line

I'm searching for a tool to get the used header (if there is one/more) for every line/statment in my c++ code. Example: #include<iostream> std::cout << "hallo"; The output i'd like to ...
3
votes
1answer
96 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 ...
6
votes
1answer
395 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 ...