Blame view

build2/epsilon-master/ion/src/shared/console_stdio.cpp 187 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  #include <ion/console.h>
  #include <stdio.h>
  
  namespace Ion {
  namespace Console {
  
  char readChar() {
    return getchar();
  }
  
  void writeChar(char c) {
    putchar(c);
    fflush(stdout);
  }
  
  }
  }