CPlusPlusThings/basic_content/sizeof/blackclass.cpp
NishantRaizada-wq 799cc52db8
Update blackclass.cpp
This will make you the  use of the graphics including size
2021-02-25 11:31:14 +05:30

20 lines
320 B
C++

/**
* @file blackclass.cpp
* @brief 空类的大小为1字节
* @author 光城
* @version v1
* @date 2019-07-21
*/
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
#include<graphics.h> // use size in graphics also
class A{};
int main()
{
cout<<sizeof(A)<<endl;
cout<<sizeof
return 0;
}