Код не дает O/P в терминале, но дает в окне O/P, и он не принимает вход.PS C:\Users\poona\OneDrive\Desktop\Sigma7.0> g++ code.cpp
PS C:\Users\poona\OneDrive\Desktop\Sigma7.0> ./a.out
./a.out: The term './a.out' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\poona\OneDrive\Desktop\Sigma7.0>
Подробнее здесь: https://stackoverflow.com/questions/797 ... n-termanal