[D3D] Draw Current Ammo?

Posts 16–19 of 19 · Page 2 of 2
Thanks guys. I am going to learn some C++ before I start now..
Quote Originally Posted by mmbob View Post
Why didnt you just use C strings (char*) all the way?
Well, I was doing that for awhile, but then I when I needed to press backspace to take off on character it never seemed to work. I decided to use string because of it's substr method but then you can't use the PTC method because it requires char* so I needed to use strcpy to copy from const char* using c_str() to char* and then go back again to string in case people press backspace. Then I had to convert again after they hit enter or a hotkey so that it is push-able.

There was probably an easier way but I finished it so meh.
Thanks, this is what i needed to. >.<
Question has been answered.
/Closed
Posts 16–19 of 19 · Page 2 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us