getting a problem at run time

May 11, 2012 at 7:24am
i have written a C++ program in linux .it was compiled sucessfully. at the run time i got aproblem i.e while running the programm half the of the output has shown correctly remaining half has shown in different language (chinnese or japanese ) that should not understand to me
plz can one help me
May 11, 2012 at 7:28am
You have to give us more information. Best way is to provide your code to us, so we can analyze and debug it.
May 11, 2012 at 3:09pm
closed account (4z0M4iN6)
Could it be, that you have a pointer, which oversteps the end of an array?
or
Could it be, that a function returns a pointer to a local array, which is automatically destroyed, when the function returns?

This would be some of the reasons, which would cause such behaviour.
Topic archived. No new replies allowed.