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
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
7 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
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
9 views

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

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
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
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
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++. ...
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
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 ...
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
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* ...
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: ...
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 ...
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
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 ...
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
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
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
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
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
0answers
8 views

How to host Code as REST API and Package Index

I work for a company that has multiple product groups. Each product group has its own core function and software development that goes along with it. Ultimately however, each group is connected in ...
0
votes
0answers
9 views

¿What do I use?

I'm starting a project that works with MAC address and It has to make some math operations. The language should work perfect or have no problem working with Math So what language should I use? Thanks
1
vote
0answers
8 views

Tool that shows file/line/function of each malloc request and release

Recently I got a simple memory check tool that uses preload to hack all memory requests and releases. But currently only collects pointer addresses and size that have not been released. Is there any ...
0
votes
0answers
9 views

In-memory dictionary-based compressed strings library

We'd like to store a bunch of shorter strings (error messages and the like) in compressed format in RAM/ROM in a microcontroller. Currently we are Huffman-coding the strings, but I've been looking for ...
0
votes
1answer
11 views

Are there any reliable and supported CSV parsers in C?

I have some algorithms that I need to test on different data sets in CSV format. I was wondering if there is any reliable and supported CSV parser in C that can accept an arbitrary amount of columns ...
0
votes
0answers
17 views

How to handle complex business logic?

I want to implement the following features: 1.record video, encode, and upload at the same time 2.multitask like cloud drive, which can download several files at the same time, and support pause and ...
1
vote
0answers
15 views

Is there any c library available to check network connectivity?

I need to check the connectivity of a host over a local network using C program, I do not wish to use system commands such as ping. To check my ethernet I used gethostbyname() which depends on DNS ...
0
votes
1answer
36 views

Simple chess engine in C

I need a chess library or simple chess engine code that is written in C that allows me to play chess on Arduino Uno serial monitor.
0
votes
0answers
19 views

Automatic generation of Sequence Diagram from code

Is there a tool to generate sequence diagram of C code by simply passing the package which contain C file. I tried PlantUML, there i need to right some code to generate sequence diagram(flow diagram)....
1
vote
5answers
47 views

IDE for C, Ubuntu

Looking for a recommendation for IDE. I'm learning to program in C, using Ubuntu. Is Eclipse good enough? or are there better IDE's for 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 ...
1
vote
0answers
15 views

Code converter pascal to java or c++ or c

I have a code written in Pascal but because I am not familiar with this language I am searching to find same converter to change it in java or c++ or c. Does anyone have same idea in order to make it ...
-2
votes
2answers
28 views

Running C programs on Linux server

I have a C program that takes in input parameters and uses them to compute the trajectory of a particle. I want for this program to be hosted on my AWS EC2 server running linux, so that when someone ...
0
votes
0answers
9 views

communication on SPI between ADS for cee and dsp tms320C6

I need to know if there is some library for communication between ADS1299 and DSP tms320C6748, using a spi protocol, on c or c++, also it's helpful a library for ADS1299 of spi or DSP tms320C6748 ...
1
vote
2answers
35 views

Developed a program using C… What should I use to make it into a web application? [closed]

I'm a sophomore (taking Freshman level courses due to changing major) Computer Science major currently. I've only taken one Intro level programming class so far using C, and I'm teaching myself Python ...
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.
1
vote
1answer
18 views

C/C++ library for non-intrusive user-friendly configuration

I am looking for a C or C++ open-source library for exposing configuration-related variable via an API and a web UI. The requirements are: R1. It should be non-intrusive for the programmer. Assume an ...
0
votes
0answers
10 views

Duplicate a C source code tree, copying the files, leaving the functions, but deleting their content

Like the title says, I want to duplicate a C source code tree, copying the files, leaving the functions, but deleting their content. Is there any gratis tool that can do that, or even just help ...