unresolved external errors;

hey team. as far as im aware, this should be running, but i keep getting external error messages. can anyone point me in the right direction?

// menu.cpp.cpp : main project file.

#include "stdafx.h"
#include<iostream>

void showMenu();
void userInput();


using namespace std;

int main()
{

showMenu();
userInput();

system("pause");

return 0;
}

void showMenu()
{
cout<<"Welcome to NewCafe! Please make your selection now. (input the number of the item you want.)"<<endl;
cout<<" 1 : Plain Egg $1.45"<<endl;
cout<<" 2 : Bacon and Egg $2.45"<<endl;
cout<<" 3 : Muffin $.99"<<endl;
cout<<" 4 : French Toast $1.99"<<endl;
cout<<" 5 : Fruit Basket $2.45"<<endl;
cout<<" 6 : Cereal $.69"<<endl;
cout<<" 7 : Coffee $.50"<<endl;
cout<<" 8 : Tea $.75"<<endl;
}

void userinput()
{
int choice;
cin>>choice;

while (choice!=0)
{
switch(choice)
{
case 1:
cout<<"one"<<endl;
break;
default:
cout<<"default"<<endl;
}
}
}

1>------ Build started: Project: menu.cpp, Configuration: Debug Win32 ------
1> menu.cpp.cpp
1>menu.cpp.obj : error LNK2028: unresolved token (0A000337) "void __cdecl userInput(void)" (?userInput@@$$FYAXXZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>menu.cpp.obj : error LNK2019: unresolved external symbol "void __cdecl userInput(void)" (?userInput@@$$FYAXXZ) referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)
1>C:\Users\Zane\documents\visual studio 2010\Projects\menu.cpp\Debug\menu.cpp.exe : fatal error LNK1120: 2 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
You wrote userinput with lower case i.
ha....ha...yes. thank you. a new set of eyes works wonders...
Topic archived. No new replies allowed.