Y
Hacker News
new
|
ask
|
show
|
jobs
by
bruce343434
5 days ago
I agree. I tend to use the gnu "asprintf" which simply returns a properly allocated char buffer with the formatted string in it. And on platforms that don't feature asprintf (windows) you can build your own using sprintf!