[Solved] How to get an integer from user in c++? [closed]

[ad_1]

Try with g++ :

g++ program.cpp -o a.out

Or with gcc (If you add the c++ runtime library) :

gcc program.cpp -o a.out -lstdc++

[ad_2]

solved How to get an integer from user in c++? [closed]