Mail Archives: djgpp/1995/07/11/17:07:20
/* Hello,
I wrote the following programm and compiled it with djgpp 1.12m2
under MS-DOS 5.0 */
#include <stdlib.h>
#include <stdio.h>
int main( int argc, char **argv )
{
int i;
for ( i = 0; i < argc; i++ )
printf( "Argumentnr. %d: %s\n", i, argv[i] );
}
/* Then I startet it with go32 a.out Gl"uh Wurm
^^- We use so called Umlaute
in the german language,
The output is: ( see MS-DOS Codepage 437,
Number 129 ).
Argumentnr. 0: a.out
Argumentnr. 1: Gl
thats all... :-(
I also tried go32 a.out "Gl"uh" "Wurm"
and go32 a.out 'Gl"uh' 'Wurm'
but the output is always the same as above.
Any hints, what I can do?
Then please send eMail to schock AT olis DOT north DOT de */
- Raw text -