Tag: struct


Found 102 results for 'struct'.


1) c - Difference between a Structure and a Union
2) c++ - When should you use a class vs a struct in C++?
3) c++ - When I want to declare new members for a Struct,some trouble I don't understand
4) c++ - Why isn't sizeof for a struct equal to the sum of sizeof of each member?
5) c++ - What is the difference between static_cast and reinterpret_cast?
6) c++ - Return value optimization and copy elision in C
7) c# - Why are mutable structs “evil”?
8) c++ - How can I overload empty operator of struct?
9) python - Python 2.7 - clean syntax for lvalue modification
10) c - Segmentation fault 11 printing string from struct
11) c++ - No == operator found while comparing structs in C++
12) c++ - No == operator found while comparing structs in C++
13) c++ - C++ Overloading operator< for struct: Error too many parameters
14) c++ - When do we need to use a structure in a pure C++ program? Is structure at all required in a pure C++ program?
15) c - Question regarding memory allocation of variables in a structure (In C)
16) c++ - can I build a vector of vectors of structs with vectors of structs? (yes, really)
17) c++ - How can I create a std::set of structures?
18) c - Assigning structs when structure definition have pointers
19) c++ - When to use struct over class in c++
20) swift - Difference between struct static func vs class static func in swift?
21) c++ - Difference between classes and namespaces?
22) pointers - When to use pointers
23) c - Stack smashing detected: running program with dinamically allocated array of structures
24) c - C struct and memory allocation
25) c# - Value Types, Immutability (Good) & Mutability (Evil) in .NET
26) c - Save pointer to structure into an array of pointers
27) .net - Does it make sense to define a struct with a reference type member?
28) c# - Structs versus classes
29) c++ - Size of struct is more than expected
30) c# - Struct on the heap?
31) c - Malloc of pointers in structs + pointer arithmetic + free() + linkedList
32) c - why does it only add 2 when passed by reference?
33) go - How to search for an element in a golang slice
34) c - assigning values to a structure after allocating memory in function
35) c++ - What's the major difference between "union" and "struct" in C.?
36) c - Assign one struct to another in C
37) c# - Immutability of structs
38) c - Casting dynamically allocated int pointer to struct pointer
39) c - Why use address of first element of struct, rather than struct itself?
40) c# - Are Structs always stack allocated or sometimes heap allocated?
41) c++ - Difference between 'struct' and 'typedef struct' in C++?
42) c++ - std::cout don't work with overloaded '<<' operator for struct
43) c++ - Initializing struct array with constructor parameters
44) c - Initializing bit-fields
45) arrays - Converting an array of struct pollfd to a pointer of pointer of struct pollfd
46) c++ - cannot swap structs inside a class derived from vector
47) c - Which convention is better in C programming?
48) c++ - Addition of two matrix using struct
49) c - Structure variable initialization in short way
50) c - Allocating memory for pointers inside structures in functions