Hey, how can I make a type of structure global? for example the code below does not compile.
Instead I have to do something like:Code:struct sponsor { HBITMAP banner; char bannerSite[150]; }; sponsor add; add.banner = NULL; add.banner = "www.google.com"
Anyways if I can't do whats in the first example how can I make add global?Code:struct sponsor { HBITMAP banner; char bannerSite[150]; }; int main() { sponsor add; add.banner = NULL; add.bannerSite = "www.google.com"; }