|
-
March 6th, 2008, 07:14 PM
#1
how could i do this??
i have this struct
struct StudentRec
{
int age;
string name;
int id;
};
and two overloaded functions
void Sort(StudentRec student[].id); //here the problem
void Sort(StudentRec student[].age); //here too
how can i write two overloaded Functions and pass specific field from struct
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|