User Tools

Site Tools


haas:spring2013:common:structslyrics
Every day in my code
I have ifs, I have whiles
That is how I store my data.
Far across my functions
And code blocks between files
I keep track of so many vars...

Ints...
Chars...
Whatever they are
I believe I'll use structs to store them
All vars...
Accessed with a dot
All here under one name
And my code will grow cleaner still.

Structs can be set one time
And typedef'ed through all code
And used as often as I like
Structs can make code better
With pointers and arrays
And my code will grow cleaner still.

Ints...
Chars...
Whatever they are
I believe I'll use structs to store them
All vars...
Accessed with a dot
All here under one name
And my code will grow cleaner still.

Code here
Include files are near
And I know that
My code will stay clean
Structs save
Sanity all day
They are great in my code
And my code will go on and on.
haas/spring2013/common/structslyrics.txt · Last modified: 2013/03/20 19:09 by 127.0.0.1