Skip to content
Snippets Groups Projects
simple.lc 339 B
typedef struct {
  int a;
  int b;
} TwoInts;

sample TwoInts theTwoInts;
sample TwoInts anotherTwoInts;

sample struct {
  int x;
  string s;
} IntString;

sample struct {
  double x;
  double y;
} TwoDoubles;

sample struct {
  int fixed[2];
  int variable[2,_];
} TwoArrays;

sample struct {
  int a[2];
  int b[2,3];
} TwoFixedArrays;