Why not use a global string[128]?
#1

I've been watching a lot of code and very frecuently i see that people declare a new string[128]; in almost every function that needto send any msg.

What's bad about having a global string[128] and use it in all functions? (so you dont have to allocate more and more stack memory in each function call)
Reply


Messages In This Thread
Why not use a global string[128]? - by trollkemada - 24.03.2013, 00:37
Re: Why not use a global string[128]? - by kamzaf - 24.03.2013, 00:40
Re: Why not use a global string[128]? - by ReneG - 24.03.2013, 00:41
Re: Why not use a global string[128]? - by P3DRO - 24.03.2013, 00:47

Forum Jump:


Users browsing this thread: 1 Guest(s)