#include <iostream>
#include <algorithm>
#include <thread>
template<typename T>
T func (T& tid) {
std::cout << "Thread says: " << tid << std::endl;
return tid;
}
int main ()
{
unsigned val = 35;
std::thread t (func<decltype(val)>, val);
t.join ();
system ("pause");
return 0;
}
py ваш_скрипт.py
py -2 ваш_скрипт.py
py -3 ваш_скрипт.py
py -2 -m pip install SomePackage # default Python 2
py -2.7 -m pip install SomePackage # specifically Python 2.7
py -3 -m pip install SomePackage # default Python 3
py -3.4 -m pip install SomePackage # specifically Python 3.4
String(const char *str);//конструктор по принимаемой строке
a.cpy("rap").print();
d = {(0, 1): 'X', (2, 3): 'O'}
for x, y in d:
print(x, y, d[x, y])