Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.70K
~1K People Reached
Favorite Forums
Favorite Tags
c x 1

1 Posted Topic

Member Avatar for bops

Sorry to bump an ancient thread, but I actually found a great solution to this problem that hadn't been mentioned: [code] char *str = NULL; asprintf( &str, "My cat %s has $%.2f in her bank account.", name, money ); [/code] This function will perform the allocation (with malloc) and then …

Member Avatar for Raptor007
0
1K

The End.