python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
CMake GCC can't find curl struct in included header file
I'm trying to create a library with CMake that uses libcurl but GCC is consistently failing to find certain structs and defines even though they were included. I have curl, libssl-dev, and libcurl4-op...

ImTheSquid
Votes: 0
Answers: 1
Concentric square matrix
I have coding problem to write concentric square matrix (biggest number is in the middle) For example user needs to write an matrix For example:
5 5 5 5 5
5 6 6 6 5
...
mr fahrenheit
Votes: 0
Answers: 2
What is the official Rust guidance for interoperability with C++, in particular passing and returning structs as arguments?
I'm trying to adapt some layers of existing C++ code to be used by Rust and apparently the way is through a C API.
For example, one function might return a struct as an object
#pragma pack(push,4)
str...

user8143588
Votes: 0
Answers: 2
c - what is the most efficient way to copying a string?
what is the most efficient way for the cpu (benchmark way) to copy a string?
I am new to c and i am currently copying a string like this
char a[]="copy me";
char b[sizeof(a)];
fo...

dn70a
Votes: 0
Answers: 3