home
typedef struct HEAP_ { int size; void **tree; int (*compare)( const void *key1,const void...
I use following code to get backtrace void print_backtrace(void) { static const char start[] =...
I have a C code where I have a 3d cube object. The 3d cube object is drawn via x, y, z coordinates...
This question already has an answer here: Why does inserting URLs in C...
I'm building an app that works with sound taken from an input, like microphone. I'm facing a...
I've got this code where I'm trying to make a kernel module print the uptime of the system, exactly...
I was a project in CodeLite with multiple C files with an int main() in a single folder, how do I...
The task is to search if an array can be found in another array. There are four parameters in the...
6 hours ago

Basics C Code - Issue

I'm working on a Fahrenheit to Celsius and Celsius to Fahrenheit converter but ran into an issue....
Here is the homework question I am working on: Declare a character variable letterStart. Write a...
I am working on ADS1299 and Atmel. Therefore, I am interfasing ADS1299 with Atmel SAM4E. For that I...
Is there anyone who has used the memleak tool from bcc to profile userspace memory allocations?...
I am trying to get better at C and I am making a snake game right now and I have been using Visual...
I am trying to wrap my head around compiling a assignment expression to bytecode. I am writing my...
This question already has an answer here: Difference between single...
In the code below I try to receive an MPI message having two active threads. Passing 0 as command...
When I uncomment line 13, the program reaches up to line 25 and then exits. What could possibly be...
I am looking at this page: https://sys.readthedocs.io/en/latest/doc/01_introduction.html that goes...
What is the best way to avoid writing something...
I have started to learn C, I tried to use it with VS Code, but the "#include < stdio.h>" is...
Reading through standard proposal document "n2263: Clarifying Pointer Provenance v4"...
I have an algorithm implemented in MATLAB. I want to replace different built-in operations with my...
I am attempting to write use the this C library without modification in a C++ application. It uses...
When I run this code, the printf() function seems to give a random large number, as if it is...
If we write down the line LCD_ALLCLR at the end of the code, what will be the output? *Sample...
I'm using the c xdevapi in mysql connector 8.0.11 and trying to read a timestamp in my program....
Is it necessary for a variable to have a storage class in c ? if yes then what is the default...
I think it should be 6 hours I`m dealing with this problem! Anyway, I want to build a single .c...
#include <pthread.h> #include <unistd.h> static void *tfunc(void *data) { return...
I'm trying to set up a TCS3472 Color Illumination sensor on the ESP-32 running the ESP-IDF...