+ 1

Why we use sprintf function??

6th May 2021, 2:56 PM
K S Mirthun
K S Mirthun - avatar
7 Antworten
+ 2
K S Mirthun don't even try, stop now or you are too late. I would recommend you to use a modern user-friendly library such as sfml or sdl2, even Qt would do the job too.
6th May 2021, 5:14 PM
Maher Al Dayekh
Maher Al Dayekh - avatar
+ 6
sprintf lets you format a string using different variables and formatting specifications. It’s very powerful.
6th May 2021, 3:06 PM
Jerry Hobby
Jerry Hobby - avatar
0
You are right about stringstream bro but I am ask about this sprintf function because I am saw this in graphics.h tutorial..
6th May 2021, 3:31 PM
K S Mirthun
K S Mirthun - avatar
0
No bro I am using dev c++ IDE and minGW compiler. and also I am know that graphics.h header file is outdated but I am learning that because I want to experience 😉 to make a inde game..
6th May 2021, 3:49 PM
K S Mirthun
K S Mirthun - avatar
0
I think you get it 😅
6th May 2021, 3:49 PM
K S Mirthun
K S Mirthun - avatar
0
Maher AI Dayekh You are correct only bro but I am 14 only I think I have more time so I think I want to get experience in graphics.h and also I like that header file😅
9th May 2021, 11:48 AM
K S Mirthun
K S Mirthun - avatar
- 1
You mean It is used for changing any data type variable value as string??
6th May 2021, 3:08 PM
K S Mirthun
K S Mirthun - avatar