Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by haukero

  1. haukero

    template help? how to instantiate??

    whoops i posted the wrong instantiation code, hehe the one i posted won't work of course! so here's the correct one : point <int> myPoint (int x, int y); as already said the compiler treats this instantiation as function prototype and not as instantiation!! ;( myPoint is an attribute of...
  2. haukero

    template help? how to instantiate??

    whoops, i posted the wrong instantiation code! ;) allright, i will post my standard constructor declaration code first, this might be helpful : // standard constructor point.h template // 'type' is the generic template parameter point (type x, type y); // and this is the right instantiation...
  3. haukero

    template help? how to instantiate??

    hello, i have a simple 'point'-template class with 2 parameter standard constructor! i wanna instantiate like this : point<unsigned int> myPoint (x = 0, y = 0); the compiler (vc++ 6 sp5) thinks 'myPoint' is a function with 2 parameters returning point<unsigned int> instead of a point...
  4. haukero

    template help? how to instantiate??

    hello, i have a simple 'point'-template class with 2 parameter standard constructor! i wanna instantiate like this : point<unsigned int> myPoint (x = 0, y = 0); the compiler (vc++ 6 sp5) thinks 'myPoint' is a function with 2 parameters returning point<unsigned int> instead of a point...
  5. haukero

    lnk2001

    hallo, ich hoffe das problem wurde net scho 1000x mal diskutiert, konnte aber im archive und web keine brauchbare antwort finden! zum problem: ich habe ein simples template, was auch ohne probleme compiliert, sobald ich aber das template in z.b. main instantiiere steigt der linker mit...

Part and Inventory Search

Back
Top