Game Development Community

Something We Need.

by Robert Fritzen · in Technical Issues · 03/17/2011 (2:10 pm) · 4 replies

I do believe we need a resource or something in the docs. on all of the C++ data types and how (if possible) to convert between them.

The one I'm needing the most currently is a numeric representation in a const char * to F32. Just generic things like this. It would probably help out when it comes to needing the conversions in source editing.

#1
03/17/2011 (6:14 pm)
I think dAtof is what you are looking for.
#2
03/18/2011 (5:23 am)
@Robert - I think this is more of a C++ reference thing then a Torque reference thing.... Perhaps a good C++ programming reference would help you the most.
#3
03/18/2011 (9:57 am)
@Robert - Aun posted the right function. Also, I'm going to have to agree with Chris.
#4
03/18/2011 (11:03 am)
Yes, dAtof worked for me. And it was just a suggestion, not trying to overwork anyone over a huge thing, I may make a resource like this though sometime. :P