Message from @Povilus
Discord ID: 462716794994425878
Where do you live?
US?
Fucking Lithuania. We say it's in the geographical middle of Europe, but nobody seems to care.
Don't like it there?
No no no, not that.
I meant my country isn't very relevant in the international community of countries.
Here, I'm just a lurking newfag.
I don't think relevancy should be desired for a country right now
Work on your country and improve as much as possible while keeping your heads down
True. It's kind of nice, no refugees want to stay here because no money and too cold.
Those that stay usually turn out to be the ones that care.
Russians still have Latvia and Belarus to annex before getting to us, so that's like 20 years of peace probably.
What a time to be alive <:covfefe:440543908846632980>
Sounds like a time to become economically powerful
And hit the scene like a boss
Such optimism... You must be American.
I am
What are you @Povilus ?
Lithuanian?
Yes. Is that bad?
Just don’t kill yourself
?
Lithuania has high suicide rates
I've thought about it, decided it'd be too much hassle ;D
Play basketball instead
```cpp
#include <iostream>
int main()
{
std::ios::sync_with_stdio(false);
std::cout<<"a\n";
std::printf("b\n");
std::cout << "c\n";
return 0;
}
```
@meratrix what do you expect the output to be?
```cpp
std::ios::sync_with_stdio(false);
```
wut dis do?
compile and find out 😉
Nah nigga
it's some cool shit
b
a
c
Okay, I'm assuming that first line does some fuckery.
Wait, why are you doing ios related programming
Blech
Also i hate when people dont use “Using namespace std;” and just type std: a bagillion times
You shouldn't use namepsace std; in actual software.
do you suggest `using std::cout;` or something?
`Using namespace std;` is bad for actual software, generaly fine for small side projects, because if you're using libraries and they happen to have them named the same, say they both have their own `String`, then it's going to cause issues when you `Using namespace String`.
polluting namespace is bad mmkay
clang-tidy/format are great
That method, `std::ios_base::sync_with_stdio()`, controls whether the standard stream objects `cin`, `cout`, `cerr`, `clog`, `wcin`, `wcout`, `wcerr`, `wclog` are synchronized with `stdin`, `stdout`, `stderr`.
If you turn synchronization off, you might get better performance in `cin`, `cout`, etc.
If you're just using the standard library, don't worry about `using namespace std;`.