/
githubmirror
/
CPlusPlusThings
Обзор
Документация
Войти
/
githubmirror
/
CPlusPlusThings
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
basic_content/sizeof/blackclass.cpp
16 строк
256 B
zhangxing
support bazel complie this project and format code.
30 мар 2024, 17:00
30 мар 2024, 17:00
3c8a3f2
Код
Авторство
О чём код?
/** * @file blackclass.cpp * @brief 空类的大小为1字节 * @author 光城 * @version v1 * @date 2019-07-21 */ #include <bits/stdc++.h> #include <iostream> using namespace std; class A {}; int main() { cout << sizeof(A) << endl; return 0; }