jazykc  2013.3
upoljazykc
 All Classes Files Functions Variables Typedefs Macros Pages
Macros | Functions
PAUSE.c File Reference
#include <stdio.h>
#include <stdlib.h>

Go to the source code of this file.

Macros

#define PAUSE   do { fputs("Press any key to continue... ", stdout); getchar(); } while(0)
 

Functions

int main (void)
 

Detailed Description

ach jo, vyucujici pouzivaji system("PAUSE"); kvuli "Press any keys to continue ..."

Hmm, hmm, spusti Windows cmd.exe a v nem PAUSE builtin, gde to sme?

Usage: na unixu compile+link a PAUSE nainstaluje do ${HOME}/bin

Definition in file PAUSE.c.