 
            
            
            
            
                27 May
                
                    2017
                
            
            
                27 May
                
                '17
                
            
            
            
        
    
                6:32 p.m.
            
        Remember that file is C code, not C++ code, and it's Windows-only, so the choice of number to string function is more limited.
The standard C function for number-to-string is sprintf.
I believe it may allocate memory. itoa() may not, which is important for signal handlers. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/