//defines for pages
#define
AboutMe
1
#define
MyApps
2
#define
MyFriends
3
#define
MyPics
4
#define
MyResume 5
#define
MyContacts
6
#define
MiniBlog
7
//main function itself
void
MainMenu(int page)
//select a value for 'page'
//parameter
{
switch(page)
{
case
AboutMe:
{
printf("About me");
break;
}
case
MyApps:
{
printf("My Applications");
break;
}
case
MyFriends:
{
printf("Friends");
break;
}
case
MyPics:
{
printf("Pictures");
break;
}
case
MyResume:
{
printf("Resume");
break;
}
case
MyContacts:
{
printf("Contacts");
break;
}
case
MiniBlog:
{
printf("Mini Blog");
break;
}
default:
printf("Main Menu");
}
}
goto:
-
http://3rd-trip.blogspot.com
My blog: the 3rd trip
-
http://4just.ru
just (Alexander Gromadskiy) fans site
-
http://lenta.ru
news site
-
http://google.com
search site
-
http://yandex.ru
search site
-
http://www.mail.ru
free mail site
-
http://winamp.com
WinAMP site
-
Please sign the petition Come on HTC, upgrade HD2 to Windows Phone 7!
-
Воровство в России миллиардов долларов на государственном уровне. Расследование А.Навального. Mega corruption in Russia.
-
В трагедии в Домодедово виноват только один человек! К сожалению, его имя нельзя произность в суе... грозит последствиями, но все знают кто ОН.
|
|
Main Menu
|
|
|