Thank you for the video ! it really helped . Question : Why did you declare all function as a static ? I was trying to remove it , but it failed compilation .... I doesn't make sense that I have to declare all parameters as static also , but I still have to use operator new to create instance of them in order to use it , because if I do't - it fails in run time . Advice ?
The methods are declared static because they are in a static class. You cannot declare instance members in static class. Yes this is one of those things that seems redundant in the language. As for the second part, I dont understand.
Awesome tutorial man i have been looking for this for so long and here it is.
Great stuff, thank you I learned more than expected here
Thank you for the video ! it really helped . Question : Why did you declare all function as a static ? I was trying to remove it , but it failed compilation .... I doesn't make sense that I have to declare all parameters as static also , but I still have to use operator new to create instance of them in order to use it , because if I do't - it fails in run time . Advice ?
The methods are declared static because they are in a static class. You cannot declare instance members in static class. Yes this is one of those things that seems redundant in the language. As for the second part, I dont understand.
thank you