set_text () is not displaying the output.



>2010/11/9 Armin Burgmeier <armin arbur net>

  >On Tue, 2010-11-09 at 00:24 -0200, Rodrigo Nunes wrote:
    >>     for(int x = size; x >= 0; x--){
    >>                 Exit = Exit + Entry[x];
    >>             }

    >The logic of this loop is incorrect. It should be

    >for(int x = size; x > 0; x--)
           >Exit = Exit + Entry[x-1];

    >Also note that this won't work for non-ASCII characters. Using
    >Glib::ustring instead might work better.

    >Armin


Sorry about the delay in responding ... I had to reformat my computer but I followed your tip and it worked ... earned thanks for the help.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]