Apr 24, 2013 at 6:09pm UTC
What's the problem? What's wrong with it? What errors are you getting? What incorrect behaviour are you seeing?
We're not psychic.
Apr 24, 2013 at 6:20pm UTC
1>------ Build started: Project: paperrock, Configuration: Debug Win32 ------
1>Build started 4/24/2013 12:19:34 PM.
1> Touching "Debug\paperrock.unsuccessfulbuild".
1>c:\users\mattnsam\documents\visual studio 2010\projects\paperrock\paperrock\main.cpp(20): warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data
1> All outputs are up-to-date.
1>main.obj : error LNK2019: unresolved external symbol "enum Choice __cdecl getcompChoice(void)" (?getcompChoice@@YA?AW4Choice@@XZ) referenced in function _main
1>main.obj : error LNK2019: unresolved external symbol "enum Choice __cdecl getplayerChoice(void)" (?getplayerChoice@@YA?AW4Choice@@XZ) referenced in function _main
1>C:\Users\MattnSam\Documents\Visual Studio 2010\Projects\paperrock\Debug\paperrock.exe : fatal error LNK1120: 2 unresolved externals
1>Time Elapsed 00:00:01.94
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
those are the errors im getting
Apr 24, 2013 at 6:24pm UTC
Those are linker errors. Whichever files getcompChoice() and getplayerChoice() are defined in aren't being linked into your project.
Apr 24, 2013 at 11:03pm UTC
Um... you mean, you haven't already? You've written code that's calling those functions, but you've not defined them anywhere? What, were you expecting the compiler to magically read your mind to know what the functions were supposed to do, and create them itself?