Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  Convert number to string in C++

Prior to C++11, there is no built-in function in C++ standard library which can be used to convert numbers such as interger and double number to string.  There are many ways which can convert number to string. Since C++ is C compatible, we can use itoa() function to convert an integer to C style string. But this one can only convert integer to string, not double. For different types of numbers, we need to use different functions.string s = string(itoa(a));Actually, we can also use stringstream in C++ to convert number to string.  Also, here since we want to convert different types of...

18,910 1       C++ CONVERSION NUMBER STRING


  Creating Dynamic PDF files using HTML and PHP

There always arise a need for converting content from one file format to another one. Some may need to convert some text into HTML and some may need to convert some HTML content to an image format. The main reason for the need to convert from one file format to another is because the target file format is best suited for targeted medium where the content need to be displayed. The targeted medium may be an email, a printed hard copy or a web browser. The text format is best suited for sending emails, as the possibility of the email contents getting corrupted in the transition is much lesser, wh...

7,927 0       PHP HTML LIBRARY PDF CONVERSION GENERATE