cin tag

2 questions


1 answers
25 views
0
Why does cin not run normally on c++?

cin을 사용하여 입력할 이름의 개수와 이름을 입력하고이를 출력하는 간단한 코드 입니다.But if you add the cin >> n part in the third line of main,Contrary to my intentions, the next for statement has a single sin It's not accepted.W...

2 years ago

1 answers
33 views
0
Receive numeric input based on c++ sin colon

When you enter scanf in c language, scanf(%d:%d, &a, &b);You can only get numbers like thisHow do I write it using cin in c++?

2 years ago

© 2024 OneMinuteCode. All rights reserved.