Andy Pomfret
/
UoY-32C-lab4-2
Template project for University of York ELE00032C Lab 4
main.cpp
- Committer:
- ajp109
- Date:
- 2021-01-16
- Revision:
- 1:8290f84652d1
- Parent:
- 0:77209603a6fe
- Child:
- 2:3e6493621bc9
File content as of revision 1:8290f84652d1:
#include "mbed.h" struct IntVector { int x; int y; }; int main() { IntVector p; p.x = -3; p.y = 1; printf("(%d, %d)\r\n", p.x, p.y); // Do nothing, forever... while (true); }