example for using sprintf and vsprintf in Qt-4.7.4
Hi,
I am beginner in Qt Programming and i am searching for the examples regarding the sprintf and vsprintf in Qt.
I have gone through the Qt assistant and according to that i am trying some examples on my but i want the precise examples that teach the understanding of their usage.
Please some body help me.
Thanks in advance,
Rohith.G
Re: example for using sprintf and vsprintf in Qt-4.7.4
sprintf and vsprintf are standard C functions and Qt is C++ library. So what is the problem ?
Re: example for using sprintf and vsprintf in Qt-4.7.4
Hi,
Lesiok thanks for replying me.
can we use the same implementation syntax of sprintf and vsprintf as of C in Qt..? also.
Thanks & Regards,
Rohith.G
Re: example for using sprintf and vsprintf in Qt-4.7.4
Qt is NOT programming language. Qt is a library written in C ++ or Qt is a C ++.
Basically, you first need to know C ++ to use Qt
Re: example for using sprintf and vsprintf in Qt-4.7.4
If you want to print into a QString, you can use QString::sprintf().
Cheers,
_