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!

Search results for query: *

  • Users: gregbackus
  • Content: Threads
  • Order by date
  1. gregbackus

    void * to class

    say you have a file like this... #define CASTING_IS_A_BEAR 200 #include <string.h> #include <iostream.h> class thing { public: char name[32]; thing() { strcpy(name,&quot;greg&quot;); } }; int main(void) { void *p; thing g; p=(void*)g; /* now how do I get to...
  2. gregbackus

    templates and linking

    I'm new to this site and I love it already! Anyway - down to business - I'm using 4.52, coding a vector class using templates (template<class T> class vector) I've got a header that contains only the declarations of the class and its functions and a seperate file with the function definitions...

Part and Inventory Search

Back
Top