Global Problem on macos (visual studio code)

Revision en2, by BAKIEV.SHAHZOD, 2023-11-28 09:48:48

Good afternoon or evening everyone .

Not long ago I encountered a problem that shocked me, and this problem was on the Macbook air 14 laptop, as well as the Macbook Pro 2022 M2 and in general on all macbook laptops that I have encountered, a compilation problem << ios_base::sync_with_stdio(0); >> that is, the output went in a row differently than on laptops running Windows, i.e. if I entered in a row, it seemed to flow, and did not disable the synchronization between input and output.

Therefore, I wrote this blog so that people do not have difficulty working on a Macbook.

I hope you find an idea how to solve this issue.

Tags radewoosh, benq, jiangly, ecnerwala


  Rev. Lang. By When Δ Comment
en2 English BAKIEV.SHAHZOD 2023-11-28 09:48:48 36
en1 English BAKIEV.SHAHZOD 2023-11-28 09:48:10 744 Initial revision for English translation
ru3 Russian BAKIEV.SHAHZOD 2023-11-28 09:40:44 0 я также пробовал cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); но и это не сработало
ru2 Russian BAKIEV.SHAHZOD 2023-11-28 09:39:28 2 Мелкая правка: '22 M2" и вселом во вс' -> '22 M2" и вцелом во вс'
ru1 Russian BAKIEV.SHAHZOD 2023-11-28 09:35:15 692 Первая редакция (опубликовано)