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 gkittelson 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: *

  1. rustywaters

    Automatically Calc struct size??

    Hi, I am trying to remember how I used to automatically calculate the size of a struct, inside the struct: for example: struct myStruct { int miInt; int miAnotherInt; char mcChar; int *mpiPInt; /* SOMETHING HERE such as : */ int miSizeofmyStruct = OFFSETOF(miSizeofmyStruct) - OFFSETOF(miInt)...

Part and Inventory Search

Back
Top