Dima
why do you have while loop
Dima
its just two numbers
swarnim
On Linux it will be system("clear");
MᏫᎻᎯᎷᎷᎬᎠ
its just two numbers
His mind didn't set up with programming thinking yet
MᏫᎻᎯᎷᎷᎬᎠ
I used to write If (found == true)
Dima
His mind didn't set up with programming thinking yet
can I penetrate him? ( ͡° ͜ʖ ͡°)
Anonymous
its just two numbers
cus i have to use while or for my teacher tell me the qus is: Write a program that receives N numbers from the input and the largest number among the numbers received Print😐🤦‍♂️
Dima
then why do you try to input two if you need N-amount
MᏫᎻᎯᎷᎷᎬᎠ
can I penetrate him? ( ͡° ͜ʖ ͡°)
It's better to leave him be
MᏫᎻᎯᎷᎷᎬᎠ
Okay
MᏫᎻᎯᎷᎷᎬᎠ
I'm going
Anonymous
then why do you try to input two if you need N-amount
cus i just learn while, for`& `if and i can't write a program with these🙁
Dima
if you’ll use it one more time
Dima
ban guaranteed
Dima
not from us, but from the hiring companies
Dima
xD
Anonymous
Anonymous
Anyone knows which ide it is?
Dima
it’s not ide
Dima
its the text editor, called vs code
swarnim
VSCode
swarnim
Not an IDE btw
Anonymous
Ok thanks
swarnim
Also that's Lua code if I am not wrong.
Anonymous
You guys are awesome i love this group
Mubeen
/get -cbook
Dima
at work we write if (something == false) because it’s easier to see, a lot of people didnt see the ! sign before
Dima
/warn spam more and you’ll archieve more
Dima
nah our ide warns about that
BinaryByter
dafaq how bad do you have to be?
Dima
dafaq how bad do you have to be?
c++14-17 feature which introduced initialization in condition
Dima
no
Dima
if (bool kek = getKek(); kek)
Dima
that way
Anonymous
if (bool kek = getKek(); kek)
It's tertinary operator I think
Anonymous
Semicolon in if Statement..🤔🤔🤔🤔
BinaryByter
since operator= returns a T
BinaryByter
Semicolon in if Statement..🤔🤔🤔🤔
I dont see the use as well, tbh
Anonymous
Bro.. don't intialize in if statement.. It always takes statement as true
Anonymous
Bcoz values are positive..so it will take as trye
Anonymous
Why you are checking you u already intialize it to false in if statement.. It always considered as false
Anonymous
Why u are checking in if statement
Dima
wtf… xD
Dima
double loop
Dima
but you are making a progress
Anonymous
😬😬
Dima
keep doin
Anonymous
If I send this project to my teacher, Maybe he does not shoot me with a shotgun😬
BinaryByter
lol
BinaryByter
I never do my homework, I dont get shot either
Anonymous
Mat
what is ur comment guy's??😬
OMG 😂 what's that!
Anonymous
😶😂
Dima
OMG WTF LMAO KEK 😆
BinaryByter
what do think about my code?
my internet doesnt want to load it
Dima
let the internet save us
Anonymous
Dima
> gets banned from university for using std::numeric_limits<double>::infinity(); - teacher be like “wtf is this, I don’t know it"
Dima
btw true guys write DOUBLE_MAX
Anonymous
😐😯😐😯
Dima
No, go away
listen here, kid
Luis José
I think , in general, @vehlwn is very competent on his answers
Anonymous
no diff here
BinaryByter
there is none
MᏫᎻᎯᎷᎷᎬᎠ
Here no But int a{} is better than int a;
MᏫᎻᎯᎷᎷᎬᎠ
Anonymous
I prefer {} it's uniform and modern way to init var
MᏫᎻᎯᎷᎷᎬᎠ