Message from @Leonidas
Discord ID: 622641558587441162
why is france the healthiest country in the world according to who
Knife stabbings is not seen as a health issue
damn
Jealous
reeee lol
That just download or symmetrical
based
Boss be like
Why are you always staring at the background when I come in?
heh
you have some other stuff up underneath
I used to do that when I was younger
Just smash CRL+D when people walked in
Which brings you to the background
But I set a screenshot of an IDE as my background
<:makes_you_think:382980749780844554>
lmao
Doh
why does this not run at all, it just ends
int main()
{
int i, a;
vector<int>x = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
while(i = 0, i++)
{
cin >> i >> a;
while (i==x[i]){
cout << "\n" << i << " " << a << "\n";
break;}
}
}
well it does
i know
it doesn't do what i want it to
i want it to compare x to each element in the list
wait
why the fuck are you cinning
compare i to each element in the list
o nvm
@Legiondude @Tero tag in
this code has no errors but it doesn't do what I want it to do
int main()
{
int i, a, x;
while(x = 0, x < 10, x++){
cin >> i >> a;
cout << "\n" << i << " " << a << "\n";
}
}
it should output what's input
and do so within the loop
instead it doesn't seem to read any code
i have the proper #include statements
so, two things..
in a while, you can't use the three pronged statement