Aina

Sydney, Australia

astrophysics student at University of Sydney

3h
awarded Famous Question
Feb
26
awarded Notable Question
Sep
30
awarded Autobiographer
Jul
7
awarded Famous Question
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
23
awarded Nice Question
Jul
2
awarded Curious
Jun
20
awarded Notable Question
Jan
15
awarded Notable Question
Nov
13
awarded Popular Question
Aug
29
awarded Popular Question
Apr
14
awarded Popular Question
Jan
7
awarded Teacher
Dec
17
accepted Accessing individual elements of C++ structure
Dec
17
comment Accessing individual elements of C++ structure
I still don't undestand how it is done because *it = myNewValue; only throws errors, I guess I'll have to start from scratch and find another, more transparent way to implement it but I will leave you in piece.
Dec
17
comment Accessing individual elements of C++ structure
thanks, which operator would I need to define if I wanted to overwrite the value inside the struc element? Say something like (inside of the loop) *it = myNewValue;
1 2 3 4 5