First commit 13/02/1995
This commit is contained in:
32
RAR.CPP
Normal file
32
RAR.CPP
Normal file
@ -0,0 +1,32 @@
|
||||
#include <stdio.h>
|
||||
#include <conio.h>
|
||||
|
||||
|
||||
void main( int argc, char *argv[] )
|
||||
{
|
||||
int i;
|
||||
unsigned char *aux;
|
||||
|
||||
printf ( "\n Linea de parametros fue: \n" );
|
||||
for ( i = 0; i < argc; i++ )
|
||||
printf ( "%s ", argv[i] );
|
||||
|
||||
printf( "\n \n \n <20>Deletrear linea de comandos? (S/-): \n " );
|
||||
switch( getch() )
|
||||
{
|
||||
case 'S':
|
||||
case 's':
|
||||
for ( i = 1; i < argc; i++ )
|
||||
{
|
||||
printf( "\n" );
|
||||
aux = argv[i];
|
||||
do {
|
||||
printf ( "%03d %c + ", (unsigned int)(*aux), (unsigned char)(*aux) );
|
||||
} while ( *(++aux) != '\0' );
|
||||
|
||||
}
|
||||
getch();
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user