python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to access an individual data in a struct array in Swift
I am trying to access individual data entry in a struct array, so I can format the data output it a more "cosmetic way", an while I can print it, I can not format it as I wish because I can ...
Learningnewthings
Votes: 0
Answers: 1
What happens to malloced data in a struct in C when it is assigned to another variable?
Let's say I have a structure named "example" which has a member named data which stores data allocated on the heap:
typedef struct _EXAMPLE
{
signed char *data;
size_t size;
} exampl...
William Ryman
Votes: 0
Answers: 3
Uncertainties about OOP and the struct Keyword
class NodeType {
public:
int info;
NodeType* link;
};
I came across this when learning about linked list, and as a beginner, at line 4, pointer link is an object of class NodeType, this ...
Syramid
Votes: 0
Answers: 1
Encoding and decoding structs of
I'm trying to encode and decode structs, I've searched around quite a bit and a lot of the questions regarding this topic is usually people who want to encode primitives, or simple structs. What I wan...
PhilipB
Votes: 0
Answers: 1