Oh! Sorry! :) I didn't noticed after the answer that it was really a C or C++ issue. When I was searching for an answer to my problem on the web, I read on a website the exactly problem that my program was getting. At this point I didn't notice yet that '\n' was being changed for "\r\n". Then I've found at this website that this happens and that this is a configuration of the COMPILER. That I had to look at the compiler manual for how to solve this. Then, after the answer, I had to see that the problem was really a C or C++ issue. So I had to write at the answer what I'll write here: Sorry for the off-topic, because initially I thought it was a compiler issue. But I think that if I didn't go up to higher (the compiler discussion list), I wouldn't solve my problem. Thanks again! Thales Medeiros. Citando John Love-Jensen <eljay@xxxxxxxxx>: > Hi Thales, > > > Even programming games using Allegro and SDL, programming in lots of > languages > and programming lots of applications for a large company here in Brazil, I > can't > get where you all are, but one day I'll be here to help people like you all > do! > > Glad to be of help. :-) > > GCC is a user community supported product. The more, the merrier! > > Note: in hindsight, your problem was actually off-topic for this forum, > since this is a forum for GCC issues in particular, not C or C++ (or other > GCC supported languages) issues themselves. Not that I mind. Usually the > response is a polite "Your question is off topic for this forum, but here's > the answer anyway..." > > Sincerely, > --Eljay > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.