C:\cpp\progi\New3\untitled1\main.cpp:36: предупреждение: C4996: 'freopen': This function or variable may be unsafe. Consider using freopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\stdio.h(249): б¬. ®Ўкпў«ҐЁҐ "freopen"
freopen("pro.txt", "r", stdin);
char str[255];
std::cin >> str;