¡@

Home 

c++ Programming Glossary: structarray

Passing array of structures to function c++

http://stackoverflow.com/questions/3613302/passing-array-of-structures-to-function-c

struct MyStruct int a int b char c mayarray 5 MyStruct StructArray 10 myFunction StructArray Pass to this to a function void myFunction.. int b char c mayarray 5 MyStruct StructArray 10 myFunction StructArray Pass to this to a function void myFunction struct MyStruct PassedStruct.. is will calling the function like this modify the data in StructArray I need it to. Would that be call by reference I'm a little confused...