Това ми е програмата, плс помогнете ми, защото не мога си оправя грешките, но успях да ги намаля от 24 на 11, а ми трябжа за утре

GeSHi (C++):
#include<iostream.h>
#include<stdlib.h>
#include<string.h>
struct hanoveInfo {
char ime[20];
char titla[15];
int g1;
int g2;
hanoveInfo * next;
};
hanoveInfo * hanove_list;
void printHanove(hanoveInfo * han)
{
cout<<"Hanove:"<<han->ime<<endl;
cout<<"\than:"<<han->titla<<endl;
}
void printfAllHanove(void)
{
struct hanoveInfo * current=hanove_list;
if(current!=0) {
while(current!=0) {
printHanove(current);
current=current->next;
}
}
else
cout<<"error: Nqma vavedeni hanove!\n";
}
void addHanove(void)
{
cout<<"Dobavqne na hanove...\n";
hanoveInfo *temp=(struct hanoveInfo*)malloc(sizeof(struct hanoveInfo));
cout<<"Vuvedete ime na hana:";
cin>>temp->ime;
cout<<"Vuvedete titla:";
cin>>temp->titla;
cout<<"Dobavqne na hana"<<temp->ime<<"v spisuka...";
temp->next=han_list;
han_list=temp;
cout<<"Done!\n";
}
void getHanInfo(void)
{
cout<<"Ime na hana:";
char search[20];
int yes=0;
cin>>search;
cout<<"Tursene v spisuka...";
struct hanInfo * current=han_list;
while (current!=0&&!yes){
if(!strcmp(current->ime, search))
yes=1;
else
current=current->next;
}
cout<<"Done!\n";
if(current!=0)
printHan(current);
else
cout<<"Nqma namereni rezultati v BD\n";
}
int main() {
char current='\0';
han_list=0;
cout<<"Welcome to han manager\n*************\n";
while(current!='I'){
cout<<"Izberete:\n";
cout<<"[V]sichki hanove:\n";
cout<<"[D[obavqne han:\n";
cout<<"[T]ursene han:\n";
cout<<"[I]zhod:\n";
cin>>current;
switch(current) {
case'V':
printAllHanove();
break;
case'D':
addHan();
break;
case'T':
getHanInfo();
break;
case'I':
cout<<"See you soon...\n";
break;
default:
cout<<"Error:Nepoznata komanda\n";
}
}
return 0;
}