LORENE
arrete.C
1
/*
2
* Stops the execution of a code, until the 'Enter' case is hit.
3
*
4
*/
5
6
/*
7
* Copyright (c) 1999-2001 Eric Gourgoulhon
8
*
9
* This file is part of LORENE.
10
*
11
* LORENE is free software; you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation; either version 2 of the License, or
14
* (at your option) any later version.
15
*
16
* LORENE is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with LORENE; if not, write to the Free Software
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24
*
25
*/
26
27
28
29
30
31
/*
32
* $Id: arrete.C,v 1.4 2016/12/05 16:18:10 j_novak Exp $
33
* $Log: arrete.C,v $
34
* Revision 1.4 2016/12/05 16:18:10 j_novak
35
* Suppression of some global variables (file names, loch, ...) to prevent redefinitions
36
*
37
* Revision 1.3 2014/10/13 08:53:31 j_novak
38
* Lorene classes and functions now belong to the namespace Lorene.
39
*
40
* Revision 1.2 2002/10/16 14:37:12 j_novak
41
* Reorganization of #include instructions of standard C++, in order to
42
* use experimental version 3 of gcc.
43
*
44
* Revision 1.1.1.1 2001/11/20 15:19:29 e_gourgoulhon
45
* LORENE
46
*
47
* Revision 2.1 1999/12/15 15:40:50 eric
48
* L'argument par defaut a=0 est desormais precise dans le prototypage
49
* declare dans utilitaires.h
50
*
51
* Revision 2.0 1999/03/02 14:04:18 eric
52
* *** empty log message ***
53
*
54
*
55
* $Header: /cvsroot/Lorene/C++/Source/Non_class_members/Utilities/arrete.C,v 1.4 2016/12/05 16:18:10 j_novak Exp $
56
*
57
*/
58
59
60
// headers du C++
61
#include"headcpp.h"
62
63
namespace
Lorene
{
64
void
arrete
(
int
a) {
65
char
c ;
66
67
if
(a == 0) {
68
69
cout.flush() ;
70
cout <<
"Continue = 'return'"
<< endl ;
71
cin.get(c) ;
72
73
}
74
75
}
76
}
Lorene
Lorene prototypes.
Definition:
app_hor.h:67
Lorene::arrete
void arrete(int a=0)
Setting a stop point in a code.
Definition:
arrete.C:64
srv
www
html
Lorene
C++
Source
Non_class_members
Utilities
arrete.C
Generated by
1.8.14