View Single Post
Old 12-05-2006, 04:01 AM   #1 (permalink)
joelw
Code Monkey
 
Join Date: Sep 2006
Posts: 36
joelw is on a distinguished road
help with creating and calling a function

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.
joelw is offline   Reply With Quote