Struct Help is needed.
Hey, i been talking to a famous person..
now i want some help with structs, thanks to that person I understand how structs work, i am asking, did the pointer change or I am just doing it wrong
or is it
Or Is it
I will like to kno why I keep crashing, can anyone help me out
now i want some help with structs, thanks to that person I understand how structs work, i am asking, did the pointer change or I am just doing it wrong
Code:
Main* pMain = (Main*) POINTER;
void RenderFrame (void)
{
DrawHealthBar(' Do Health bar')
}
Code:
void RenderFrame (void)
{
Main* pMain = (Main*) POINTER;
DrawHealthBar(' Do Health bar')
}
Code:
Main* pMain;
void RenderFrame (void)
{
pMain = (Main*) POINTER;
DrawHealthBar(' Do Health bar')
}
I will like to kno why I keep crashing, can anyone help me out


