error LNK1120 and LNK2001

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Spur Nine
    New Member
    • Nov 2011
    • 1

    error LNK1120 and LNK2001

    i'm doing a program for class and i don't know what is wrong with my begining.
    heres how mine begans:

    #include<iostre am>
    using namespace std;
    int main()
    {
    i'm geting error LNK1120 and LNK2001
    what am I forgeting?
  • rstiltskin
    New Member
    • Feb 2010
    • 14

    #2
    There's nothing wrong with your code (at least as much as you have posted).

    You're probably using MS Visual C++ and have configured your project incorrectly. Be sure you create the project as a console application, not a win32 project.

    Comment

    Working...