Thread: Fatal Error LNK1220: 1 unresolved externals

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    24

    Fatal Error LNK1220: 1 unresolved externals

    I wrote this code for my airline reservation system. Now I can't run it because of a Linking error.

    It says:
    Code:
    1>airlinne1.obj : error LNK2019: unresolved external symbol _printticket referenced in function _klb
    1>C:\Users\User\Desktop\PSPD\PSPD2\Debug\PSPD2.exe : fatal error LNK1120: 1 unresolved externals
    Last edited by zenghoong; 10-12-2009 at 03:24 AM. Reason: found answer. removing the codes. thanks.

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    you have one t too many on this function:
    Code:
    int printtickett(void)

  3. #3
    Registered User
    Join Date
    Oct 2009
    Posts
    24
    Quote Originally Posted by Adak View Post
    you have one t too many on this function:
    Code:
    int printtickett(void)
    Thanks a million Adak!

  4. #4
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    you're quite welcome.

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, 03:07 AM
  2. unresolved externals??
    By pokiepo in forum C Programming
    Replies: 6
    Last Post: 07-02-2008, 11:38 AM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. Including lib in a lib
    By bibiteinfo in forum C++ Programming
    Replies: 0
    Last Post: 02-07-2006, 02:28 PM
  5. debug to release modes
    By DavidP in forum Game Programming
    Replies: 5
    Last Post: 03-20-2003, 03:01 PM