I was so fired up when I first figured out how to use structs and classes. Like 4 days ago maybe? (Thank you hanst99) It opens the door to the other 95% of programming.
Wait until you get into classes and data parsing from an .ini or txt file. And functions within structures.... within structures, within structures!
OOD. Crazy stuff. It's like, you try to figure out the best way to do something and you think you're on the right track... until you read something better and it just makes sense to you... it's basically like a EUREKA!!!!! moment.
I'm just so fired up that I want to write an arbitrary structure for the hell of it!!!
struct elements
{
int hydrogen;
int oxygen;
int nitrogen
int carbon
int copper
int zinc
int iron;
LIQUID liq;
SOLID sol;
GAS gas;
}
struct LIQUID
{
int water;
int hydrocarbon;
}
struct SOLID
{
int brass;
int steel;
}
struct GAS
{
int carbon_monoxide;
int carbon_dioxide;
int nitrous_oxide;
}