hey guyz.i have a c++ code using structure arrays.I want to sort the records by id and by age(using 'sort' function)and by name (using 'sortN' function). My problem is i cant figure out how to pass the records to the relevant functions from the'main' function and also how to get them in'sort' and 'sortN'.

please help me. thanx a lot

can u post a code of what you have?.......it will be helpful for someone to find what he/she can do...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.