1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

undefined reference to Struct

Discussion in 'C' started by heidik, Oct 26, 2010.

  1. heidik

    heidik New Member

    breachmonitor.cpp:(.text+0x17ce): undefined reference to `BreachMonitor::Breach::Breach()'
    Can anyone please tell me what does it mean? I have created a struct and then declared its variable like

    Breach wb;
    and it isnt compiling. The structure has default constructor (no arguments) and another one for initialization. It has also got two methods.

    bool operator==(const Breach& p) const
    bool operator<(const Breach& p) const

Share This Page