15rthughes on October 8th, 2018 at 18:08 UTC »
extern YourVariableType YourVariableName;
There.
IgnusTeras on October 8th, 2018 at 18:21 UTC »
C purposefully doesn't share scopes between files because global variables are naturally prone to errors when working with multiple programmers at the same time
haha pink man dumb
tyrone0ng on October 8th, 2018 at 18:26 UTC »
C was my first programming language. High learning curve, but I'm glad I learned it first as it made learning other languages way easier.
15rthughes on October 8th, 2018 at 18:08 UTC »
extern YourVariableType YourVariableName;
There.
IgnusTeras on October 8th, 2018 at 18:21 UTC »
C purposefully doesn't share scopes between files because global variables are naturally prone to errors when working with multiple programmers at the same time
haha pink man dumb
tyrone0ng on October 8th, 2018 at 18:26 UTC »
C was my first programming language. High learning curve, but I'm glad I learned it first as it made learning other languages way easier.