Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » I have a pain in my head

This thread is locked; no one can reply to it. rss feed Print
I have a pain in my head
keprast
Member #16,794
January 2018

It took me a few hours.
Write a rotation matrix.
But it has a few hundred lines of code.

I want to get him out of it.
From the main program of the Allegro.

I exploded my head:-X

-------------------------------

Pointer? Or something else?

Audric
Member #907
January 2001

It sounds like you want to move a large piece of code from main() to a function.
But you didn't say what is your problem.

GullRaDriel
Member #3,861
September 2003
avatar

And without posting code.

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Go to: