Skip to content

Instantly share code, notes, and snippets.

@Mixone-FinallyHere
Created July 17, 2015 09:25
Show Gist options
  • Save Mixone-FinallyHere/94b9bceb5b59b4447498 to your computer and use it in GitHub Desktop.
Save Mixone-FinallyHere/94b9bceb5b59b4447498 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main {
struct {int x, y; char tag;} point1, point2;
point1.x = 1; point1.y = 3; point1.tag = 'A';
point2.x = 4; point2.y = 7; point1.tag = 'B';
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment