I need help with creating and calling a function StudentData S2 = StudentData( S1 );
this what i got so far:
Code:
#include <iostream>
using namespace std;
struct Student
{
char Name[30];
float GPA;
int Major;
};
int main()
{
int S1;
int S2;
system("PAUSE");
return EXIT_SUCCESS;
}
if anyone could help much appreciated thanks in advance.