I have met a proplem in correcting the following file and please submit to me by correcting the errores and if you can please help me in sorting and updating this file #include <iostream> #include<fstream> #include<string.h> using namespace std; struct gum { string nam,fnam,typ_item,nam_pack,coun_cons; int tin_no,reg_no,tot_item,tot_pack; float weigh; }; void write(gum e[],int siz); string sort(gum f[],int siz); void updat(gum g[],int siz); void cpy(gum k[],int siz); int main() { int a,i=0; struct gum ey[4]; while (i<2) { cout<<" enter name"<<endl; cin>>ey[i].nam; cout<<"enter father name "<<endl; cin>>ey[i].fnam; cout<<"enter tax identification number"<<endl; cin>>ey[i].tin_no; cout<<"\nenter enter total items"<<endl; cin>>ey[i].tot_item; cout<<"enter type of items"<<endl; cin>>ey[i].typ_item; …

Member Avatar
Member Avatar
+0 forum 2

I met a problem in sorting a file containing astudents fistnane, secondname and GPA.if I sort the file using first name or lastname their Gpa will be miss placed please help me. the file is: kalayu haile 3.5 fikadu adisu 3.99 eyob assefa 3.25 getaneh allesew 3.75 fraol gezahegn 3.00 jim broun 4.00

Member Avatar
Member Avatar
+0 forum 11

Wired Magazine reports this month on [URL="http://www.maennerspielplatz.de/"]Männerspielplatz[/URL], a playground of sorts that's designed specifically with men in mind. Located in Germany, guys come to try their hand at things many have only dreamed of: riding dirtbikes through mud, driving a backhoe, or operating jackhammers on mounds of concrete. Wired author [URL="http://www.wired.com/culture/culturereviews/multimedia/2008/12/st_man_park"]Andrew Curry says[/URL], "The brainchild of Alexander Bammer, a former IT honcho, Männerspielplatz (literally 'men's playground') began seven years ago as a one-off corporate promotion with a handful of rented earthmovers at a construction site near Kassel in central Germany. The event struck a chord with pasty execs who loved …

Member Avatar
+0 forum 0

The End.