['Using cpp std iostream lib in py']
Project description
Python C++ std iostream
Using C++ std lib iostream in py
Installtion
pip install py_cppstd
Import
from py_cppstd import std
then:
std.load()
or
std = std()
How to use iostream
recommend to use ; when end line.
std.include('iostream') # include 'iostream'
# prints 114514 and '\n' and flush the stream
std.cout << 114514 << std.endl
num: int
std.cin >> num # input a number to num
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_cppstd-0.2.tar.gz
(9.5 kB
view hashes)
Built Distribution
py_cppstd-0.2-py3-none-any.whl
(10.8 kB
view hashes)