unresolved external - help appreciated

This is a discussion on unresolved external - help appreciated within the C++ Programming forums, part of the General Programming Boards category; new here yes this is a homework problem, but it has nothing to do with the code i need to ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    2

    Angry unresolved external - help appreciated

    new here

    yes this is a homework problem, but it has nothing to do with the code i need to write

    i try to compile in borland c++ 5.0x, and i get the following error message:

    Unresolved external 'init_cow_array' referenced from module farmer6.cpp

    btw, all the code is in the one file.

    thanks in advance

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    that means you never made the function

    that means you prototyped the function, but you never defined it, or you defined it differently.. check to make sure the name (case-sensitive) and all the arguments are the same and that you created a body for the function (haha.. i bet some people don't realize this needs to be done)

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    2

    yep

    yes thanks for that, i read over last night's code (i mean LATE last night), and saw the problem.

    its a fairly large program, and i probably just forget about one function cause i was planning the next 10 in my head

    my bad

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    haha

    how many times have i done that

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 02:07 AM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 01:28 PM
  4. debug to release modes
    By DavidP in forum Game Programming
    Replies: 5
    Last Post: 03-20-2003, 02:01 PM
  5. Unresolved external symbols in OGL
    By Shadow12345 in forum Game Programming
    Replies: 4
    Last Post: 08-04-2002, 09:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21