I am doing network programming in C on Ubuntu using gcc. I am facing the problem how to convert an Integer Type to ASCII Type. I have used itoa() and sprintf(), but wasn't that fritful. Can any one suggest a suitable solution to it?
I've to admit that the union approach was just a bad and clunky advice. But I just can't get this: [QUOTE] It's doubtful that any decent compiler wouldn't have this included, [B][I]so I personally wouldn't hesitate to use it[/I][/B], but it's the OP's choice if he decides to use it … Read More
[QUOTE=tux4life;1004540]I've to admit that the union approach was just a bad and clunky advice. But I just can't get this: Why would someone use an unportable function to do the job when there's a portable function which will also help you to achieve the same job? It's of course his … Read More
Edited by mvmalderen: n/a