Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. Tollefson

    Overloading cast operator with pointers

    It is not often that one would need to do this, so use it with caution. But the following should work. Instead of var2 = (Class2*)var1; just insert an additional cast to pointer to void var2 = (Class2*)((void*)var1); Most compilers accept this. Mark
  2. Tollefson

    Is Multithreading possible in c?

    Absolutely! I don't know if Microsoft has included it (I don't do windows if I can avoid it), but most C and C++ compilers (such as g++) support pthreads. They are not obvious how to use, however. I'd suggest the PThreads book by O'Reilley. I was able to get it via interlibrary loan from my...

Part and Inventory Search