language: C++ 4.7.2 (gcc-4.7.2)
date: 771 days 17 hours ago
link:
visibility: private
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
 
using namespace std;
 
//this struct is POD
struct point3D
{
   int x;
   int y;
   int z;
};
 
//point3D is POD, so we can initialize it as
point3D p = {1,2,3};
 
int main() {
        
        return 0;
}