2022年12月6日

c++ 获取对象地址和从地址获取对象

摘要: #include <iostream> using namespace std; int main() { const char* a = "I am the data"; long long addr = (long long)(std::addressof(a)); cout << "addre 阅读全文

posted @ 2022-12-06 11:14 空明流光 阅读(550) 评论(0) 推荐(0)

导航