14 lines
267 B
C++
14 lines
267 B
C++
#include "smt4497-P1.h"
|
|
|
|
int ej1_8()
|
|
{
|
|
printf("Pulsa una tecla para salir \n");
|
|
int contador = 0;
|
|
int tecla = 0;
|
|
printf("Tam. contador: %d bytes\n", sizeof(contador));
|
|
while (tecla = 0)
|
|
{
|
|
printf("\r%d ", ++contador);
|
|
tecla = esperaPulseTecla(0);
|
|
}
|
|
} |