query: C++ Changing a struct variable from a member function
positive_passages.docid: 1784
positive_passages.text: What's the difference between passing by reference vs. passing by value?
negative_passages.docid: 116133
negative_passages.text: Why do I get an "undefined reference" link error for a static member variable?
negative_passages.docid: 147573
negative_passages.text: Define functions in structs
negative_passages.docid: 157385
negative_passages.text: Function does not change passed pointer C++
negative_passages.docid: 11736
negative_passages.text: When should I use a struct rather than a class in C#?
negative_passages.docid: 134680
negative_passages.text: Why can I change the value of a const char* variable?
negative_passages.docid: 28186
negative_passages.text: C/C++ changing the value of a const
negative_passages.docid: 90198
negative_passages.text: Can we change the value of an object defined with const through pointers?
negative_passages.docid: 31437
negative_passages.text: When should you use a class vs a struct in C++?
negative_passages.docid: 86296
negative_passages.text: Why can't we initialize members inside a structure?
negative_passages.docid: 158204
negative_passages.text: Understanding typedef with struct
negative_passages.docid: 125985
negative_passages.text: Why does this const member function allow a member variable to be modified?
negative_passages.docid: 105070
negative_passages.text: Are there any downsides to passing structs by value in C, rather than passing a pointer?
negative_passages.docid: 24782
negative_passages.text: Accessing private member variables from prototype-defined functions
negative_passages.docid: 75987
negative_passages.text: How do you use the non-default constructor for a member?
negative_passages.docid: 114396
negative_passages.text: C# Structs: Unassigned local variable?
negative_passages.docid: 48505
negative_passages.text: How to use a C++ string in a structure when malloc()-ing the same structure?