1
Graphics / Re: Problems with Struct pointers that contain textures
« on: August 04, 2018, 07:16:04 am »
I really don't believe that making one post in my life on a forum is getting help from people all the time anyway.
And I do really think that I know what a class is and what a struct is, specially, I don't think that not using the new operator gives you the right to say that I don't know how to program, as I said, I'm used to use malloc, and I learn by doing projects anyway.
When tried to call the constructor for the array indexes after the first new call, made a strange behavior and some error like this was appearing:
But I got through this, just made some function which does the same thing as a constructor and called it for the array instead the constructor.
And I do really think that I know what a class is and what a struct is, specially, I don't think that not using the new operator gives you the right to say that I don't know how to program, as I said, I'm used to use malloc, and I learn by doing projects anyway.
When tried to call the constructor for the array indexes after the first new call, made a strange behavior and some error like this was appearing:
But I got through this, just made some function which does the same thing as a constructor and called it for the array instead the constructor.