I have created an array of struct i am very frustrated beacuse I just can not figure out how to pass this array of struct into a function. here is my created struct and a general idea of what i have been trying
#include <stdio.h>
void functionOne(MyStruct)
struct MyStruct
{
string IDname;
int numbeOne;
int numberTwo;
};
int main()
{
MyStruct RecArray[100];
functionOne(RecArray);
return 0;
}
functionOne(MyStruct ArrayOfStruct[])
{
//function code
}