I am trying to compile Deepstream 6.0 Python bindings. My guess it that the issue not related to Deepstream, but to general C/C++ compiling issues: sudo apt ins
I am new to coding. As a practice problem, I wrote a program to sort strings as alphabetically, as in a dictionary. My program takes as input: (a) The number o
I'm trying hard to get a list of style properties for a GtkWidget (GtkButton). This is my code so far: #include <gtk/gtk.h> #include <stdio.h> #inc
I'm trying to wirte a C Program, which sorting list of numbers with names from txt file and write it in a bin file but the problem is that i can't write the bin
I am unsure what André Caron means here: Virtual functions in C ... some of this code relies on (officially) non-standard behavior that "just happens" t
I have an obsolete hardware level/pressure transmitter that communicate with mcu using custom protocol (it appear to be similar to modbus RTU), that hardware co
I have a file of 1000 lines with up to 70 characters in them. I want to copy the 13 first in a table, the 15th-30th in another table... i tried many different t
I always wonder why C manages the memory the way it does. Take a look at the following codes: int main(){ int x = 10000000000; printf("%d", x); } Of co
Is there a feature in VSCode IntelliSense that allows to ignore specific header files for includePath and browse.path settings? In my case I have a CMake based
I've been working in C for so long that the fact that compilers typically add an underscore to the start of an extern is just understood... However, another SO
I'm several months into learning C programming and so far have used .c files that always output to the console. Can someone suggest a sample .c file with code t
#include<stdio.h> int main(){ int i,j,rows; printf("Input number of rows : "); scanf("%d",&rows); for (i=1;i<=rows;i++) { for (j=1;j<
i've been working in a program that requires to use array of structs inside another array of structs or structure of arrays, i decided to use this approach give
#include <stdio.h> int main(void) { int i = 0; i = i++ + ++i; printf("%d\n", i); // 3 i = 1; i = (i++); printf("%d\n", i); // 2 Should
int main(void) { DDRC = DDRC | (1<<2); DDRC = DDRC | (1<<3); while (1) { //openSolenoidValves(100,60); //startStep
when I try to import GLFW I get an error in VSCode saying "fatal error: GLFW/glfw3.h: No such file or directory". I read some articles about this error but coul
I am new to C programming. and I know char * and char[] array are different. Yet, you can deduct the char[] to char * when it comes to a function param. So func
I have a coding prompt I am trying to solve: You are given two positive integers a and b. In one move you can increase a by 1 (replace a with a+1). Your task i
after solving my previous problem in Unable to mount a developer disk image. iOS 15.4.1 - Xcode 13.3.1 (13E500a) , I encountered a new one. As mentioned in my p
so I'm working on a project where it's required to take a key pad input from the user, display it on an LCD, and then start a countdown accord