Anonymous
Yes. I have a good channel on YT but it is in Russian(you can use subs). I can give a link if someone is interested
Anonymous
Give me the links how to learn programming languages in videos
Brooks
Anonymous
Someone please help me
Anonymous
Hello sir please help me
Mat
Mat
What's problem
Flooding with help requests. Tag the guy you're referring to and wait
Anonymous
But solve my problem
Anonymous
In this telegram group and Indian has admin of this group
Brooks
only google
Anonymous
Anyway i wrote pm
Mat
Shutter Shy:
There is two ways to learn programming. You can start from the "bottom" to the "top" or vice versa. What do I mean? "Bottom" it is learning how the computing machines work and "top" itis learning how to write code for these machines. So if you have a lot of free time I suggest you to start from the "bottom" and go to the "top". In this case you gonna understand programing much dipper then people that know only how to coding. But if you want to get job or realise your project faster you can start from the "top".
You also can check this video(turn on subs). If you know nothing about programing I think it will make a sence
https://www.youtube.com/watch?v=BbOkf586700
Anonymous
yap tnx
Dima
Nice
Anonymous
https://github.com/x899/hackerrank
my HackerRank's solution (work in progress)
Anonymous
Hiii
Anonymous
数学の恋人
C++ statement: std::cout << "Square root of "<<x<<" = "<< std::fixed << square_root(x)<<"\n"
What will be it's C equivalent?
数学の恋人
also how can I tackle with std::fixed in C?
Mihail
数学の恋人
is %lf not correct?
Mihail
where that 5 is how what you'd set with std::setprecision
数学の恋人
oh
Mihail
Anonymous
Should i ask a coding question here?
Mihail
%f is for a double
Mihail
and a float will be implicitly converted to that
Mihail
Mihail
and don't ask to ask
Mihail
just ask
数学の恋人
Hmm... but on this blog I saw %lf
https://fresh2refresh.com/c-programming/c-printf-and-scanf/
Mihail
Mihail
so just use %f
数学の恋人
Hmm... okay so either %lf or %f is fine?
数学の恋人
Yeah I used %f
数学の恋人
What's wrong with this statement?
Dima
why there’s an empty array operator?
Mihail
I_Interface
数学の恋人
Nothing I sorted it out
Dima
dereference probably
数学の恋人
I should have done *data instead of *data[]
Mihail
or just data[]
Mihail
but yeah not both
数学の恋人
I was returning the whole data array
数学の恋人
actually data is a pointer to double
Mihail
*data and data[] would've done the same thing here
数学の恋人
oh okay
数学の恋人
数学の恋人
Expected expression before ']' token
klimi
klimi
You can't just say []
数学の恋人
Mat
klimi
Its like saying... Give me the element no .....
klimi
Data[0] should work
klimi
Cuz its the pointer to first item
数学の恋人
数学の恋人
So what should I do to return whole array?
Mat
data
Mat
That's the array
Mat
I believe
数学の恋人
Oh yes
I_Interface
Oh yes
what u wanna to do with this function ?
数学の恋人
I actually take input in array say n elements
then I return whole array to another function
I_Interface
ah, u taking n elements and returning new array, right ?
数学の恋人
yes
数学の恋人
Apart from all this, what is implicit function?
Dima
Ah. I miss Maxi, he would say something like “use std::vector, noobs”
I_Interface
Dima
and then he would argue about c being a trashcan.
数学の恋人
klimi
Mihail