c++ function calling does not work : in the following code:
.the return value may be off,
.the main problem is that i get an error were it wont call correctly if you need the exact error just comment saying and i will

    int menu()
    {
	    system("cls");
	    cout << "1 for gamemodes 2 for class editor (class editor not yet   
        made coming soon)" << endl;                           
	    system("pause>nul");
	    if (GetAsyncKeyState(VK_NUMPAD1))
	{
		 gamemodes();
	}
	return 0;
    }

    int gamemodes()
    {
	system("cls");
	cout << "pick a gamemode" << endl;
	cout << "1 for team death match" << endl;
	cout << "rest coming soon!!!!" << endl;
	system("pause>nul");
	if (GetAsyncKeyState(VK_NUMPAD1))
	{
		map_picker();
	}
	return 0;
    }

    int map_picker()
    {
	while (go = true)
	{ 
	system("cls");
	cout << "pick a map" << endl;
	cout << "1 for town" << endl;
	system("pause>nul");
	if (GetAsyncKeyState(VK_NUMPAD1))
	{
		town_load();
	}
	return 0;
    }

    int town_load()
    {
	return 0;
    }
'gamemodes': identifier not found
the above is my error
that needs fixed 

updates any updates to this code will be placed in quotes here

	

















