HACKER
TALK
Home
Channels
beta
Bookmarks
Messages
Notifications
Sign In
Comment
C++类的内存占用大小问题
include<iostream using namespace std; class Person { public: double mA;//double占用8字节
#!/bin/zsh
·
2 years ago
#include __FILE__
int还是4,空的就空了,但struct大小需要算上
Reply
Report
#!/bin/zsh
Joined 3 years ago
#include __FILE__
127.0.0.1
Follow
Message