代码搜索:pointer
找到约 10,000 项符合「pointer」的源代码
代码结果 10,000
www.eeworm.com/read/240162/4584679
out+ c-pointer-1-c-pointer.out+
++Class with pointer inhereting class with pointer:
size=8,align=4
offset-pointer=0,offset-pointer=4,
align-pointer=4,align-pointer=4
www.eeworm.com/read/233448/4676710
cpp c-pointer-1-c-pointer.cpp
#include
class c{
public:
char * f;
};
static class sss: public c{
public:
char * m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
print
www.eeworm.com/read/233448/4676849
cpp c-pointer-2-c-pointer.cpp
#include
class c{
public:
char * f;
};
class c2{
public:
char * f2;
};
static class sss: public c, public c2{
public:
char * m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16
www.eeworm.com/read/233448/4677564
out+ c-pointer-2-c-pointer.out+
++Class with pointer inhereting classes with pointer & pointer:
size=12,align=4
offset-f=0,offset-f2=4,offset-m=8,
align-f=4,align-f2=4,align-m=4
www.eeworm.com/read/233448/4677764
out+ c-pointer-1-c-pointer.out+
++Class with pointer inhereting class with pointer:
size=8,align=4
offset-pointer=0,offset-pointer=4,
align-pointer=4,align-pointer=4
www.eeworm.com/read/190666/5176240
cpp c-pointer-1-c-pointer.cpp
#include
class c{
public:
char * f;
};
static class sss: public c{
public:
char * m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
print
www.eeworm.com/read/190666/5176379
cpp c-pointer-2-c-pointer.cpp
#include
class c{
public:
char * f;
};
class c2{
public:
char * f2;
};
static class sss: public c, public c2{
public:
char * m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16
www.eeworm.com/read/190666/5177094
out+ c-pointer-2-c-pointer.out+
++Class with pointer inhereting classes with pointer & pointer:
size=12,align=4
offset-f=0,offset-f2=4,offset-m=8,
align-f=4,align-f2=4,align-m=4
www.eeworm.com/read/190666/5177294
out+ c-pointer-1-c-pointer.out+
++Class with pointer inhereting class with pointer:
size=8,align=4
offset-pointer=0,offset-pointer=4,
align-pointer=4,align-pointer=4
www.eeworm.com/read/340665/3276923
cpp c-pointer-1-c-pointer.cpp
#include
class c{
public:
char * f;
};
static class sss: public c{
public:
char * m;
} sss;
#define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
int main (void) {
print