This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: simple sorting a Range program can not run(work or printout)


On 07/13/2011 02:30 AM, eric wrote:
> it can compile but when I run it
> -----------
> eric@eric-laptop:~/cppcookbook/ch7$ ./a.out
> Enter a series of strings: a z b y c x d w^Z
> [1]+  Stopped                 ./a.out

It's UNIXy, right?  The end of file character is ^D, not ^Z.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]