   SDL stderr & stdout
  How can I make sdl stdout and stderr disapear from my sdl programm? Im using borland 5.5 free commandline compiler.   
Quote:Original post by Khan2007How can I make sdl stdout and stderr disapear from my sdl programm? Im using borland 5.5 free commandline compiler.From reading this and this I get the impression that SDLMain needs to be compiled with NO_STDIO_REDIRECT defined by the preprocessor. Are you using precompiled binaries or have you built SDL yourself? I've only used SDL under Microsoft compilers, and never experienced that problem.Also, please get rid of that old Borland compiler -- it's not even C++98 compliant. A better option might be Microsoft Visual C++ 2010 Express".   ;  NO_STDIO_REDIRECT is working fine. But i have to disagree with u about borland 5.5, its a great compiler, simple and free. I have once used microsoft visual studio 6 and it wasn't so great. Borland is always have good c/c++ compiler product, like the classic turbo. I think borland 5.5 is sufficient for SDL programming. But for directX i think it's better to use microsoft product.   ;Quote:Original post by Khan2007i have to disagree with u about borland 5.5, its a great compiler, simple and free.Microsoft Visual Studio 6 is twelve years old; Borland 5.5 is fourteen years old!  Neither of them are C++-compliant!  There are other up-to-date compilers and IDEs out there that are also simple and free, such as Microsoft Visual Studio 2010 Express as Windryer mentioned, and Code::Blocks, which is a great open-source alternative.  Visual Studio, however, is *the best* IDE for Windows, and it also includes a full-fledged debugger.  And its *free* for you to use in personal and commercial applications!  Unfortunately, its also quite slow if you have outdated hardware.  Of course, nothings stopping you from downloading GCC and writing programs in Notepad.Quote:I have once used microsoft visual studio 6 and it wasn't so great.Yeah, Microsoft Visual Studio 6 is terrible; but Visual Studio has learned from its mistakes over the years.Anyways, unless there are extreme circumstances in which you are forced to use Borland 5.5, dump it for something more modern.   