Thread: Newbie, linker error, need help

  1. #1
    too newbie for a newbie
    Join Date
    Jun 2004
    Posts
    1

    Newbie, linker error, need help

    Ok now im a total newbie to programming and i have been working a program.

    This program is designed to take data from the paralel port (nothing to ambitious just a 1 or a 0) and count the cuantity of 1's recieved. That does the PCint class (PC interface)

    To then process a number of stadistics from them (the estadistical unit "Uest" takes care of it),

    To finaly show them to the user (this is done by the USERint)


    So, i have two main problems,

    The first is that when i try to compile the code (with the compiler that comes with the BLOODSHEED DEV C++) it gives me the next error:
    [Linker error] undefined reference to 'PCint::PCint(void)'
    and so on with every class

    The second is that i dont have any idea on how to recieve data from the paralel port, but this is secondary for now

    so if anyone can help me out with this i would be in debt to you

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >[Linker error] undefined reference to 'PCint::PCint(void)'
    You forgot to define the default constructor.

    >i dont have any idea on how to recieve data from the paralel port
    Read the documentation to see what functions provide this support, if there are any.
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linker problem... no idea
    By cyreon in forum C Programming
    Replies: 2
    Last Post: 04-03-2009, 02:53 PM
  2. linker
    By George2 in forum C++ Programming
    Replies: 6
    Last Post: 02-23-2008, 01:25 AM
  3. Linker errors in VC++ 2005
    By C+/- in forum C++ Programming
    Replies: 0
    Last Post: 05-18-2007, 07:42 AM
  4. Linker errors with Visual C++
    By codegirl in forum C++ Programming
    Replies: 4
    Last Post: 09-11-2003, 09:20 AM
  5. MSVis-Studio C++ libraries and linker errors
    By kellydj in forum Windows Programming
    Replies: 10
    Last Post: 03-12-2002, 02:03 PM