Just a quick prog to demonstrate that int uses 4 bytes on 32 bits systems, and show how int values are stored in memory, in response to a post on ttlg.com.
(note: the output on the screenshot would be different if compiled on a 64 bits system, with long being 64 bits)
C++ int var types internals demo
C++ int var types internals demo
- Attachments
-
- C++ var types internals demo.exe
- (232.5 KiB) Downloaded 1828 times
-
- demo.PNG (28.51 KiB) Viewed 38994 times
{<§ Gamall Wednesday Ida §>}
{ Mods and Programs - Mods TES-IV Oblivion }
{ Mods and Programs - Mods TES-IV Oblivion }
Who is online
Users browsing this forum: Google Adsense [Bot] and 55 guests