Is there in C++ , a function like this ?
charqus
0
Junior Poster in Training
Recommended Answers
Jump to PostFirst off, anyone using
gets(s);
needs their head examining.>
format(s,sizeof(s),"String is: %s | Integer is: %d | Caracter is: %c",s,d,c);
And this differs from the following in what way?snprintf(s,sizeof(s),"String is: %s | Integer is: %d | Caracter is: %c",s,d,c);
Further (what, you mean there's more?)format(s,sizeof(s),"String is: …
All 4 Replies
Salem
5,138
Posting Sage
charqus
0
Junior Poster in Training
Narue
5,707
Bad Cop
Team Colleague
Salem
5,138
Posting Sage
thomas_naveen
commented:
Nice.
+1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.