Created
March 26, 2019 08:20
-
-
Save jasongorman/0eb87302b9fc0990e6c11cc7662e8c4a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Room { | |
float radius; | |
}; | |
Room* new_circular_room(float radius){ | |
Room* room = malloc(sizeof(Room)); | |
room->radius = radius; | |
return room; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment