Jessé Goncalves
03-07-02, 18:39
| Hi, people... I'm getting to Programming in C++, and I'm charging some difficulties! That's not about data access, but statements. How could I get the hexadecimal value from some variable, like this::: a = hex(49); 'this could return 31; I realized that I could use sprintf to get this result, but the problem is... I can't put this into a fputc, that ask me an int value, and the sprintf answer me a char!!! Could somebody give some help????;) |