Motorola MC68340 Especificações Página 35

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 36
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 34
35
puts(": Received Value");
}
/**************************************************************************/
/**************************************************************************/
/* Module : AskUser() */
/* Parameters : NONE */
/* Return Type : char */
/* Created On : 05/04/95 */
/* Modified On : 05/04/95 */
/* Description : This routine prompts the user for the continuation of */
/* of a test. */
/**************************************************************************/
/**************************************************************************/
char AskUser()
{
char choice;
puts("Do you wish to continue (Y/N):\n");
while (choice = getchar()) /*read characters until y,Y,n,N */
{
if ((choice == 'y') || (choice == 'Y')) return TRUE;
if ((choice == 'n') || (choice == 'N')) return FALSE;
}
}
/**************************************************************************/
Vista de página 34
1 2 ... 30 31 32 33 34 35 36

Comentários a estes Manuais

Sem comentários