klimi
no?
klimi
Like I have assignment pls
you are making it worse mate
Anonymous
i dont understand the question
xyz
Me too
Noble Friend
Like I have assignment pls
Just Google it bro. You might get some cool stuff from there
Noble Friend
Uhh sometimes I just feel like I'll likely all what's wrong😔 But I wish to know whether anyone has got books or maybe sites that offer programming challenges. (Not a programming textbook. Just challenges)
Javi
Hackerrank
klimi
Sounds like assigment
M
Sounds like assigment
Yes it's something like that
klimi
Yes it's something like that
You know what we have in rules...
klimi
I mean I am not gonna warn you I have weird mood but other admins will
klimi
Oh okay
M
Oh okay
But i think it's not a big deal 🙂
klimi
Yeah just a warn
Рома
how to find the largest common multiple for many numbers?
klimi
Isn't that more like math quiz?
Francisco
how to find the largest common multiple for many numbers?
I think you mean lowest common multiplier
Рома
I think you mean lowest common multiplier
oh, sorry, I mean greatest common multiplier
Рома
for example, when I have three numbers
Рома
or four
Francisco
oh, sorry, I mean greatest common multiplier
Greatest common divisor, not multiplier
Francisco
There's a function in the STL for that purpose. If you have to implement it yourself, a quick look in Google will give you the answer
Anonymous
Why does Dev c++ doesn't accept STL code? They're giving lots of errors.
Artöm
You need to add std version flag
Anonymous
hey guys who has a an instructors account on CENGAGE
Anonymous
help please
klimi
whats that bud
Anonymous
I did code c++ for diffusion equation in cartesian coordinates. Now I try to do it in spherical coordinate. We can do it analytically. Can we do it numerically?
Anonymous
Positive and negative code kya sir
Dima
what
Anonymous
Please help sir
Dima
what
klimi
what
Talula
Positive and negative code kya sir
What are you talking about?
klimi
Welcome Marko! Please read the pinned message 🙂
Anonymous
Hello guys i have one question. Probably need cpp expert. What does the following expression mean int &j= *new int(2); God bless you!
klimi
i don't think this is much of cpp... its more like c
klimi
but wait why is there new
Anonymous
Cuz it is cpp
Anonymous
It creates object of int with value 2 and gives its adress
klimi
ye i see it now
klimi
but it is too scary with all thoses pointers... (one)
Anonymous
My proffesor in university. That has like phd in cpp
Anonymous
lol
Anonymous
Hello i 'm Human😁
Anonymous
PhD in C++ LMAO
😂😂😂
Anonymous
I can give you a code to test him, Marko
Anonymous
What code may i know
Some template metaprogramming magic
Ilya
Hello guys i have one question. Probably need cpp expert. What does the following expression mean int &j= *new int(2); God bless you!
declaration of variable of type "reference to int" and initialization of it by reference to dynamically created object of type int which is initialized to value 2.
Anonymous
there is no PhD in C++
Maybe his teacher is Ivan Čukić, who knows
Anonymous
WHy? this is valid code.
It's stupid and you know it
Ilya
Hello guys i have one question. Probably need cpp expert. What does the following expression mean int &j= *new int(2); God bless you!
And strictly this is not an expression. This is definition (and declaration) of new variable.
Ilya
Anonymous
no it is not stupid.
Do you write your production code like this? Would this code pass any sane code review?
Ilya
Maybe his teacher is Ivan Čukić, who knows
C++ is not a piece of science and there can not be PhD in C++. Can be PhD in Math, who knows C++ PhD in Phisics , who knows C++ PhD in Computer Science, who knows C++
Ilya
Anonymous
Yes, sometimes. this is valid code, this can pass anything
Why would you write a code like this one? What is the reason?
Anonymous
Why not?
It's like.. misleading? Since you have a reference, you can easily forget to free the memory. And.. eh.. smart pointers?
バレンタインがいない柴(食用不可)
Hi, is there anyone familiar with poco? i'm having a Poco Exception "Failed to load private key" have checked for the permission but it seems i should have the right to read that...
klimi
do you have the right path?
バレンタインがいない柴(食用不可)
yea