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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding a structure size

Status
Not open for further replies.

AAP

Programmer
May 8, 2000
93
GB
How do I find out the size of a structure (in bytes)?

Keep it simple please, I only use C/C++ occasionally.
 
operator sizeof(youstruct) returns your structure size. John Fill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top