Date: Tue, 21 Oct 1997 12:53:14 -0600 From: joseanmo AT unex DOT es Subject: Absurd error in printf sentences Newsgroups: comp.os.msdos.djgpp Message-ID: <877455508.12195@dejanews.com> Organization: Deja News Posting Service Lines: 16 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Iīve compiled a program with several printf sentences in standard output without any error or warnings, but in execution, before a simple printf sentence the program chashes with the next messages: - Exit code 255 (000ff) in a Rhide window - The contents of register in stderror window - In Rhide message window: Call frame traceback: in function printf+27 ptest(123) in function main in function __crt1_startup+138 Iīm not an Djgpp programmer, but itīs a rare error for me, if someone can help me, mail me please (joseanmo AT unex DOT es), i canīt continue with my work. Thanks. -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet e ALLEGRO bitmap only if know where each line of data is stored and what format it is stored in. A quick read of the ALLEGRO documentation with particular reference to the bmp_write_line() function should answer all of your questions. For example, if the bmp was in 8-bits-per-pixel format, as mine are, and your bitmap was simply the same.... then calling bmp_write_line to get the address of the first line of data in the bitmap, then moving your data into that position, would do the job nicely. Hope this helps.