A keyword in various programming languages whose syntax is similar to or derived from C (C++, C#, Swift, Go, Rust, etc.
If I want to replicate a structure in another one (in C), what are the pro&con's of : struct1 = …
c struct variable-assignment memcpyI get this error while compiling this .c source file /INIT_SOURCE_BUILD/src/names_list.c:7: error: storage size …
c struct typedef forward-declarationIn C, when you define a struct. What is the correct way to create a new instance? I've seen two …
c struct instanceEdited again because it originally wasn't clear that I'm trying to initialize the arrays at compile time, not at run …
c++ struct initialization portabilityI have the following struct in C++: #define MAXCHARS 15 typedef struct { char data[MAXCHARS]; int prob[MAXCHARS]; } LPRData; And a …
c# c++ interop struct marshallingWhy can't we initialize members inside a structure ? example: struct s { int i = 10; };
c struct initialization memberI was pretty confused about the difference between struct and class as I seemed to see them used for pretty …
c++ class struct member-functionsI am facing a small problem. I have a struct, which has a vector. Note that the vector is dynamic …
c++ vector struct binaryfiles