File: printPtypeO.cc

package info (click to toggle)
libosl 0.8.0-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,328 kB
  • sloc: cpp: 114,345; ruby: 1,290; ansic: 915; makefile: 431; perl: 309; sh: 35
file content (22 lines) | stat: -rw-r--r-- 394 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* printPtypeO.cc
 */
#include "osl/basic_type.h"
#include <iostream>

using namespace osl;
int main()
{
  long ptypeo;
  while (std::cin >> ptypeo)
  {
    PtypeO p = static_cast<PtypeO>(ptypeo);
    std::cout << p << std::endl;
  }
}


/* ------------------------------------------------------------------------- */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End: