Emulating C++ coding style
Thooney Millennier
thooney at pk.highway.ne.jp
Thu Apr 22 17:08:07 EDT 1999
Hello Everyone!
I usually use C++ ,so I want to make programs like
I do using C++.
I don't figure out how to implement the followings
by Python.
If you know any solutions,Please Help!
1. #define statements
e.g. #define __PYTHON_INCLUDED__
#define PYPROC(ARG) printf("%s",ARG)
2. stream class
e.g. cout << "hello python."<<endl;
3. const variables
e.g. const int NOCHAGE=1;
4. access to class's members using "::"
e.g. some_class::static_value
e.g. some_class::static_func(x)
Thanks for reading.
Thooney Millennier.
More information about the Python-list
mailing list